I kind of snipped that out of the sample... sorry... was trying to make
the sample as easy to read as possible...
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aut insanit homo, aut versus facit
> -----Original Message-----
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 6:38 PM
> To: Asendorf, John
> Cc: Php-Windows (E-mail)
> Subject: Re: [PHP-WIN] Question on using an array
>
>
> At 16:55 28.02.2001, Asendorf, John said:
> --------------------[snip]--------------------
> >I just added the last three entries on the array which all
> have the same key
> >(could be my obvious problem...) My problem is that the
> while loop only hits
> >the LAST of the three 'links.php' entry...
> >
> >Any suggestions on how to force it to hit all of those entries?
> >pleasepleasepleaseplease don't tell me I have to rewrite the
> whole thing
> >with the keys/values reversed...
> --------------------[snip]--------------------
>
> You've already got excellent answers (you only have _one_
> "links.php" key
> in the array). I wanted to add that you should put a "reset($array)"
> statement before any "each($array)" loop to make sure the loop will
> reliably start at the very first element.
>
>
> ...ebird
>
> >O Ernest E. Vogelsinger
> (\) http://www.1-at-web.at/
> ^ ICQ# 13394035
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]