{ Published : November 04, 2012 // Post an Awesome Comment }
Load JSON Data with jQuery and PHP
While working on a project I was to get records from database and show on some textboxes. I knew that I need to use jQuery to do this, but how can I do this. After somegoogling I find that I can do it very easily with JSON. I just need to fetch recordsfrom database and then convert that records to...
Read More
{ Published : November 03, 2012 // Post an Awesome Comment }
Convert an array to JSON data with PHP
Its the age of ajax, jquery, json etc. You often need to convert your PHP variable/array to JSON string. In PHP json_encode function converts PHP variable to JSON string which then can be used in javascript, jquery, ajax etc. Lets suppose we have a 2D array with the name Employee having some...
Read More
{ Published : October 10, 2012 // Post an Awesome Comment }
Add Facebook Comments to Your Wordpress themes
As we know this is the age of social networking. Almost every web user have facebook account. So using facebook commenting is helpfull for users. User don’t need to enter Name, Email etc. or even don’t need to register for commenting. User having facebook account can easily comment...
Read More
{ Published : September 06, 2012 // Post an Awesome Comment }
How to Open a Link in a New Window using jQuery
Few days ago, while developing a web application, I’ve to open a link in a new window by pressing an input button. So I write two lines for this. Many times you have to open a link in a new window by pressing links / buttons or any other element. The process is very simple and...
Read More
{ Published : July 27, 2012 // Post an Awesome Comment }
How To Force File Download With PHP
PHP allows you to change the HTTP headers of files, so that you can force a file to be downloaded that normally the browser would load in the same window. This is perfect for files like PDFs, document files, images, and video that you want your customers to download rather than read online. (...
Read More
{ Published : June 11, 2012 // Post an Awesome Comment }
Submit form using jquery .post
Today, I’ll teach you, how to submit form using jquery post method, without refreshing page. Its very simple and easy way.¬†You just need to download latest jQuery. I’ve give you a very simple example so that everyone can understand it easily.we just need to add jquery file into your...
Read More
{ Published : June 08, 2012 // Post an Awesome Comment }
Submit form using ajax without refreshing page
Today, I’ll teach you, how to submit form using ajax, without refreshing page. Its very simple and easy way. You just need to download latest jQuery. I’ve give you a very simple example so that everyone can understand it easily.we just need to add jquery file into your page. We can...
Read More