Re: Array Javascript
| From: | Marek Kilimajer | Date: | Thu, 05 Sep 2002 11:30:49 +0000 |
| Subject: | Re: Array Javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115290@lists.php.net to get a copy of this message | ||
var tmp,url;
url = 'http://site/script.php?';
while(tmp = myArray.shift()) {
url += 'phparray[]' + escape(tmp);
}
document.location.href = url;
In script.php, you'll find array named phparray
kale wrote:
Hy, I have an array make with a javascript. How can I read values with PHP from it? Kale.