Re: Thinking out loud - a continuation...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Wed, Mar 21, 2012 at 14:39, Jay Blanchard
<jay.blanchard@xxxxxxxxxxxxxxxxxxx> wrote:
> I ran it through json_encode() and got the following output
> {"John":{"email":"john@xxxxxxxx","website":"","age":"22","password":"pass","description":{"hair":"blonde","eyes":"blue","build":"medium"}},"Anna":{"email":"anna@xxxxxxxx","website":"","age":"24","password":"pass","description":{"hair":"brunette","eyes":"hazel","build":"petite"}}}
> 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

PHP General Mailing List (
To unsubscribe, visit:

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]
  Powered by Linux