You are here: Re: The $_POST array « PHP Programming Language « IT news, forums, messages
Re: The $_POST array

Posted by J�rn Dahl-Stamnes on 11/10/05 16:01

IWT wrote:

>
> Jørn Dahl-Stamnes wrote:
>> I got the following code:
>>
>> reset ($_POST);
>> while (list($key,$val) = each($_POST))
>> {
>> echo "$key => $val\n";
>> }
>>
>> But this prints out nothing. If I replace the code above with:
>>
>>
>> print_r ($_POST);
>>
>> I can see the content of the $_POST array. Why?
>
> Try this:
>
> foreach($_POST as $key => $value)
> echo $key."=".$value;

Tried that too. Still no output...

--
Jørn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/

 

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

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