Re: [SOLVED] class to generate Javascript Object ??

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

 



Andrea Giammarchi wrote:

 > I'm thinking (hoping) there is already a php class somewhere for
 > generating JavaScript object strings that I can instead of my ugly
 > easily breakable way of doing it.
 >
 > Anyone know of one?


json_encode
http://uk3.php.net/manual/en/function.json-encode.php


Thank you, worked beautifully.

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


[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