Posted by David Dorward on 12/10/05 10:41
Johny John wrote:
> How to pass an array (from php ) to java script
http://www.json.org/ is a good choice.
PHP implementations include http://mike.teczno.com/json.html and
http://www.aurore.net/projects/php-json/
> and display it using javascript?...
That depends on how you want to display it (and if you just want to display
it, why aren't you rendering HTML with the PHP in the first place?).
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|