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 d on 01/09/06 19:27

"nescio" <nescio@nescio.nl> wrote in message
news:43c26d5b$0$21236$19deed1b@news.inter.NL.net...
>
>
>> What HTML syntax are you using, and what PHP syntax are you using in
>> your foreach() loop?
>
>
> echo "<input type='hidden' name='headersKlant' value='" . $arrayHeaders .
> "'>";
>
>
> $headersKlant = $_REQUEST['headersKlant'];
>
>
>
>
> /*** debug; */
> if($debug == 'ja'){
> echo "<br>";
> echo "<b>\$headersKlant</b><br>";
> foreach($headersKlant as $k => $v){
> echo "\$headersKlant[" . $k . "]=" . $v . "<br>";
> }
> echo '<br>';
> }
> /************/
>
>
>
>
>> There's probably a better way to do what you want, e.g. using sessions.
>
> yes, but that is not possible,long story to explain why :-)

You can always make your own session handler if there's not one present for
whatever reason on your server... it doesn't have to be cookie-based - you
can make it do whatever you want.

>
>
>
>
>
>

 

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

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