You are here: Re: how to pass an array to Java script « PHP « IT news, forums, messages
Re: how to pass an array to Java script

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация