akbkhome

Smoking toooooo much PHP



Found the old version works
I had the same problem. I used the code in your post initially (thanks for posting it), but I had a problem with arrays, where it would always include the array index e.g. pass in ["abc"] and get {"0":"abc"}. The older JSON code posted by Martin seems to work fine - no recursion problem and no array index.
#2 - Michael Mahemoff ( Link) on 10 Jul 2007, 01:05 Delete Comment


Name
Email
Homepage
Comment Title
Comment
 
Contact me at alan@akbkhome.com