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

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

Reply via email to