Re: [PHP] Array Javascript

2002-09-05 Thread Marek Kilimajer
.location.href = url; return false; } //--> Click Here kale wrote: >This is a javascript? >Where must I put this lines? >Thanks for help. >Kale. > >-Original Message- >From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] >Sent: Thursday, September

Re: [PHP] Array Javascript

2002-09-05 Thread Marek Kilimajer
I forgot &, the right version: var tmp,url,separator; url = 'http://site/script.php?'; while(tmp = myArray.shift()) { url += separator + 'phparray[]' + escape(tmp); separator = '&'; } document.location.href = url; Marek Kilimajer wrote: > var tmp,url; > url = 'http://site/script.php?'; >

Re: [PHP] Array Javascript

2002-09-05 Thread Marek Kilimajer
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

RE: [PHP] Array Javascript

2002-09-05 Thread Scott Houseman
CTED]] > Sent: Thursday, September 05, 2002 1:12 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Array Javascript > > > Hy, > I have an array make with a javascript. > How can I read values with PHP from it? > Kale. > > > -- > PHP General Mailing List (http:

Re: [PHP] Array Javascript

2002-09-05 Thread Justin French
You can't. Javascript happens on the client side AFFTER PHP has happend on the server side. For PHP to ready variables made with javascrip,t you'd have to submit those variables/arrays via POST of GET to the PHP file. Justin on 05/09/02 9:11 PM, kale ([EMAIL PROTECTED]) wrote: > Hy, > I have

[PHP] Array Javascript

2002-09-05 Thread kale
Hy, I have an array make with a javascript. How can I read values with PHP from it? Kale. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Array & Javascript?

2001-04-26 Thread Maxim Maletsky
ginal Message- From: Marcus Ouimet [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 6:58 AM To: [EMAIL PROTECTED] Subject: [PHP] Array & Javascript? I am trying to add a Javascript in array but it gives me an error unless certain characters are commented which makes sense,

[PHP] Array & Javascript?

2001-04-26 Thread Marcus Ouimet
I am trying to add a Javascript in array but it gives me an error unless certain characters are commented which makes sense, but then the Javascript won't run. Any ideas here is what I am trying: 'left', 'text' => ' '); of course the ' characters are a