On Wed, Mar 21, 2012 at 14:39, Jay Blanchard
<[email protected]> wrote:
[snip!]
> I ran it through json_encode() and got the following output
>
> {"John":{"email":"[email protected]","website":"www.john.com","age":"22","password":"pass","description":{"hair":"blonde","eyes":"blue","build":"medium"}},"Anna":{"email":"[email protected]","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