Re: foreach question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



chris@xxxxxxxxxxxx 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..

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux