RE: [PHP] javascript to php ???????
| From: | Martin Towell | Date: | Tue, 13 Nov 2001 23:30:03 +0000 |
| Subject: | RE: [PHP] javascript to php ??????? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74508@lists.php.net to get a copy of this message | ||
That's why I put quotes around the words - obviously a function would be
need to be written to do the "serialising" and a corresponding php function
to retrieve the values and place them into an array again.
-----Original Message-----
From: Mark [mailto:maggelet@mminternet.com]
Sent: Wednesday, November 14, 2001 10:28 AM
To: martin.towell@world.net; PHP General
Subject: RE: [PHP] javascript to php ???????
On Wed, 14 Nov 2001 10:16:42 +1100, Martin Towell wrote:
>"serialise" the array and make the "value" of a hidden field this
>value.
>Then in PHP "unserialise" it.
that would work great if it were a php array, but I believe we're
talking about javascript arrays here. :)
>-----Original Message-----
>From: fitiux [mailto:tuxcl@NO.SPAM.yahoo.com]
>Sent: Wednesday, November 14, 2001 10:18 AM
>To: PHP General
>Cc: maggelet@mminternet.com
>Subject: Re: [PHP] javascript to php ???????
>
>
>>>Hi =)
>>>is it possible to pass a javascript array to php ???
>
>>by the time javascript comes into play, php has already done it's
>>job
>>and left the building. If you mean can javascript pass variables to
>>a
>>new request for php to handle, then sure.
>
>
>Thanks for your reply. =)
>
>I have a little problem..
>well.. with php I build an html page with javascript to validate a
>form,
>the action of this form is call again to the php page.
>I mean...
> test.php ----- (make an html page)---> question.html ---
>(submit
>form)----> test.php
>
>I populated an array but now I need to pass this array to the same
>starting
>php page again.
>
>can I do this?
>
>
>--Patricio
>
>
>(I apology because my english is not good enough.. I hope that you
>can
>understand me.. )
>
>
>
>
--
Mark, maggelet@mminternet.com on 11/13/2001