|
Posted by Oli Filth on 01/09/06 14:01
nescio wrote:
> hello,
>
> i have an array and i want to sent it in an hidden field with other
> information in a form;
>
> when i try to look in the array, which i have sent with the hidden field ,
> with
> 'foreach' i always get an
> error mesage: Warning: Invalid argument supplied for foreach()
What HTML syntax are you using, and what PHP syntax are you using in
your foreach() loop?
> my question is: is it possible to sent an array in an hidden field and use
> it on another page?
There's probably a better way to do what you want, e.g. using sessions.
--
Oli
Navigation:
[Reply to this message]
|