Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

jQuery JSON with PHP json_encode and json_decode
Aug 18, 2008 @ 10:22:04

On the ProDevTips blog, Henrik shows an example of the "perfect combination" of PHP's json functionality and a powerful javascript library, jQuery.

Today I looked for a replacement for my old jspanserializer.js script that I can't even remember where I found anymore. Turns out that I wont have to either, I can forget it. From now on I'll use jQuery JSON instead.

A code example is included to show the simplicity.

tagged: json jquery jsonencode jsondecode example