Profile

Cover photo
Amit Sonkhiya
Attended AVM
Lives in Jaipur
56 followers|46,425 views
AboutPostsPhotosVideos

Stream

Amit Sonkhiya

Shared publicly  - 
 
This article is intended to those who wish to install Redis and PHP extension for interfacing with Redis on their XAMPP installation on windows. As I had required once to setup a Redis Server on my local development machine and utilize it as it was not…
This article is intended to those who wish to install Redis and PHP extension for interfacing with Redis on their XAMPP installation on windows. As I had required once to setup a Redis Server on my…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
When you setup App on Facebook and try to make login with Facebook available in your script, everything seems fine but when someone attempt to login with a Facebook account he/she gets either of these errors from Facebook: App Not Setup: This app is still…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Have you ever used a function call in `empty()` for an `if` condition to perform some checking? Then you might come up with an PHP fatal error saying Can't use method return value in write context. I am explaining here why did the error come and 2 ways to…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
In MySQL we create tables and build relationship among them. In the process if we need to truncate foreign key constrained table then we can't do it simply and MySQL will throw an error even we have already removed table having foreign key constraint:…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
In PHP we either create objects and their array, or database returns array of objects as result-set of some query. There we might need to find an object which have a particular property-value pair. There is no direct function available in PHP to perform…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Sometimes we create MySQL tables which don't contain auto increment primary key column instead they may have unique key or combination of unique indexes. In such tables we wish to insert a new row if primary/unique key or keys combination doesn't exists…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
While working with MySQL database there might be situation when you wish to update certain column only if the value being updated is greater than existing value or current value stored in that column. MySQL GREATEST and LEAST functions are quite handy in…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
It's quite common to use background image and place text above it but it's also possible to use image in foreground and place text above foreground image overlay. You can also horizontal center or vertical center the text as explained in the article. So…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Here are 2 ways which you can use whenever you need to center a column div within `.container` in Twitter Bootstrap 3 as well as to keep empty space outside the `div` to be evenly distributed. First approach uses offset feature available in Bootstrap…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Selecting element with two or more attributes in your html page is not a trivial task. It's just a very simple line of jQuery selector when it comes to select element with multiple attributes. So let us see what is that.
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Sometimes we show ajax loaded content in fancybox popup which might include some HTML elements instead of just images. Further we might have navigation enabled due to group of elements (via setting common value for `rel` attribute) that make the previous…
1
Add a comment...

Amit Sonkhiya

Shared publicly  - 
 
Sometimes we need to retrieve URL parameters values from browser address bar in our client side script to process some functioning like click to a button or show/hide some elements. Here I have created a function in JavaScript to get query string…
1
Add a comment...
Story
Tagline
Entrepreneur, multiple programming skills and technology lover.
Bragging rights
Enjoying diverse businesses.
Education
  • AVM
Basic Information
Gender
Male
Work
Occupation
Web Developer + SW Engineer
Skills
.NET, PHP, WordPress, jQuery
Employment
  • Web Developer + SW Engineer, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Jaipur
Previously
Jaipur