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 nescio on 01/09/06 16:49

> Well, you haven't told us what $arrayHeaders contains, so it's difficult
> to see what HTML this will result in. However, I'm pretty sure it won't
> work.
>
> The following will work, however:
>
> <FORM action="process.php" method="GET">
> <INPUT type="hidden" name="foo[]" value="apple">
> <INPUT type="hidden" name="foo[]" value="bison">
> <INPUT type="hidden" name="foo[]" value="car">
> <INPUT type="submit">
> </FORM>

well, maybe i did not explain it very clear (it happens to me all the time
:-) );

the array i want to send is not made in the form but before.
the values come from an cvs-file;

let's say: $a = array('a','b','c','d');

i want to send this array together with information from a form;
that is why i had put the array as an value in an hidden form field;

 

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

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