Array in PHP and Javascript
| From: | Reuben D Budiardja | Date: | Wed, 09 May 2001 00:57:45 +0000 |
| Subject: | Array in PHP and Javascript | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52031@lists.php.net to get a copy of this message | ||
Hello,
I have a question here. Can I pass an Array (php) to a javascript
function, and then process the array there using javascript? How do I
access the php array in javascript then?
Say, all I want a do is to iterate through the array and build a string
using javascript, for example.
How do I pass the array to the javascript function? If someone could help
me, I would really appreciate it.
Thanks in advance.
Reuben D. Budiardja