|
Posted by Rik Wasmus on 01/06/08 22:47
On Sun, 06 Jan 2008 23:39:46 +0100, suma <suma_90@hotmail.com> wrote:
> hi all...
>
> i have array and iwant this array to other page in URL
>
> let the name of array is numbers and i fill this array by loop from
> data base
>
> when i write this ..
> echo "<META HTTP-EQUIV=3D\"refresh\" content=3D\"0; URL=3Dreg.php?arr=3D=
> $numbers \"> ";
>
> when redirect to reg page the url is
> http://localhost/reg.php?arr=3DArray
>
> and when print the variable $arr in reg page apeare Arrary word
>
> so ,please tell me how i can send the array ??
serialize()/implode() and on the receiving page unserialize()/explode() =
=
it, or use a session ans store it in that, and never use a META refresh =
=
when you can send a real redirect header ( header('Location: =
../reg.php?arr=3D'.urlencode(implode(';',numbers))); )
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|