You are here: Re: sending an array in an hidden field « All PHP « IT news, forums, messages
Re: sending an array in an hidden field

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация