foreach question
| From: | chris at aquanuke dot com | Date: | Sun, 08 Apr 2007 23:29:19 +0000 |
| Subject: | foreach question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252275@lists.php.net to get a copy of this message | ||
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