Hi
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how can i do
this?
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fred mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:31 AM said:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do this?
Yes. Here is a hint: delimit.
Chris W. Parker wrote:
fred mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:31 AM said:
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how
can i do this?
Yes. Here is a
I have an array in php like this:
$arr[0][0] = Something;
$arr[0][1] = Hello;
$arr[0][2] = Hi;
It is possible to post this array to another site in a form? Or how can i do
this?
It would help to serialize the array into a string, then pass it as a
regular value in a GET or POST request.
Chris W. Parker wrote:
Justin Patrin mailto:[EMAIL PROTECTED]
on Monday, December 08, 2003 4:39 PM said:
If all you want to do is give an array to another
script, sure you can delimit (although that's much more error prone
than serializing).
Serialize, delimit. It's pretty much the same
5 matches
Mail list logo