On Wed, Mar 21, 2012 at 14:39, Jay Blanchard
<jay.blanch...@sigmaphinothing.org> wrote:
[snip!]
> I ran it through json_encode() and got the following output
>
> {"John":{"email":"j...@demo.com","website":"www.john.com","age":"22","password":"pass","description":{"hair":"blonde","eyes":"blue","build":"medium"}},"Anna":{"email":"a...@demo.com","website":"www.anna.com","age":"24","password":"pass","description":{"hair":"brunette","eyes":"hazel","build":"petite"}}}
>
> jslint.com verifies this as good JSON (although I thought there had to be 
> square brackets around child arrays).
>
> If you were me would you just generate the JSON? If not what is he best way 
> to output an array that will nest properly for each subsequent query?

    I would, yes, but that's not the point.  Is Anna single?  I'm
ready to trade Debs in for a newer model.

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to