You are here: Re: Getting variable names passed to form in php « PHP Programming Language « IT news, forums, messages
Re: Getting variable names passed to form in php

Posted by Rik Wasmus on 10/14/07 12:14

On Sun, 14 Oct 2007 14:11:40 +0200, <william.hooper@gmail.com> wrote:

> Suppose I just want to print all the keys... why will this not work
> please!
>
> many thanks....
>
>
> <?php
> echo 'Hello World!\n';
> if(!empty($_POST)){
> foreach($_POST)

Yes, foreach $_POST, where to put the value (and optionally the key) of
the array?

> it prints an error message of the foreach line

RTFM:
http://www.php.net/manual/en/control-structures.foreach.php
--
Rik Wasmus

 

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

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