|
Posted by Rik on 08/20/07 14:54
On Mon, 20 Aug 2007 16:47:44 +0200, Captain Nemo =
<regal_zonophoneSPAM@yahooSPAM.com> wrote:
>> Also, instead of that while statement why not use the cleaner
> (looking
>> at least):
>>
>> foreach ($_POST as $key=3D>$value)
>
> Because I started PHP towards the end of PHP 3 and I've never got to
> grips with the foreach() construct. Is it as easy as it looks? Do
> you have to reset() the array afterwards like you do with each()?
Yup, it's that easy, no setting to beginning or resetting afterwards =
needed.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|