Re: foreach question

From: Date: Mon, 09 Apr 2007 00:22:46 +0000
Subject: Re: foreach question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-252276@lists.php.net to get a copy of this message
chris@aquanuke.com wrote:
I have ..
foreach( $_POST as $key ) {    echo "$key<br />";
} and that gives me item1 item2 item3 item4 item5<br /> how do I write it to give me item1<br /> item2<br /> item3<br /> item4<br /> item5<br /> Thanks both examples do the same thing..


« previous php.general (#252276) next »