SQL PHP HTML ASP JavaScript articles and free scripts to download
PHP Ajax

Json & PHP support

Json ( JavaScript Object Notation) is the data interchange format used to transport data between pages, you can know more about Json here. Please note that PHP5.2 onwards Json support is built in and you can verify this by using your PHP info command.

We will learn some PHP commands on how to convert data array to Json string to transport the data across the pages.

Here it is how it will look within your php info on Json support.


If you are getting the above detail in your php info command then you can directly use the PHP Json functions without adding any additional class to your script.

Let us start with the function to create a Json string by using arrays in PHP

Be the first to post comment on this article :


Google+
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer