Posts Tagged ‘json’

Adding search with jQuery and Check Boxes

Monday, August 25th, 2008

Asian Diving Vacation search function... Read More

jQuery JSON with PHP json_encode and json_decode

Friday, August 15th, 2008

Update: There is now a real world example called Shortening multiple URLs with jQuery, PHP, picolisp and, you might want to check it out when you’re done here. It uses jQuery JSON extensively. Another one is Multiple select lists with jQuery and JSON.... Read More

Fluent Arrays and Strings in PHP – Adding JSON and more

Friday, July 11th, 2008

Recently I’ve had the need to extend the interface further, among other things with JSON support. I’ve used code published by Nicolas Crovatti to do this. There was one line in there though that wasn’t consistent with its purpose. If you use that code you have to replace if($i != $keys[$i]) with if($i !== $keys[$i]). On the other hand if you use PHP >= 5.2 you don’t need this function at all, you use json_encode instead.... Read More