RE: [PHP-WIN] Question on using an array - And after all that...

2001-03-01 Thread Asendorf, John
iginal Message- > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 8:52 AM > To: [EMAIL PROTECTED]; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Question on using an array > > > I used Michael's suggestion and came up with something th

RE: [PHP-WIN] Question on using an array

2001-03-01 Thread Asendorf, John
ile ( list($key, $val) = each($arr_links) ) { if ( is_array( $val ) ) { while ( list($key1, $val1) = each($val) ) { echo " \n\n$val1\n\n \n"; } } else { //

RE: [PHP-WIN] Question on using an array

2001-03-01 Thread Asendorf, John
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

RE: [PHP-WIN] Question on using an array

2001-03-01 Thread Asendorf, John
y.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -Original Message- > From: Ignatius Teo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 5:49 PM > To: 'Asendorf, John'; 'Php-Windows (E-ma

Re: [PHP-WIN] Question on using an array

2001-02-28 Thread Ernest E Vogelsinger
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 su

RE: [PHP-WIN] Question on using an array

2001-02-28 Thread Ignatius Teo
John, OK, I won't tell you but I think you've already realised that you probably will have to anyway. :-) Wouldn't it be easier (not to mention extensible) to put this in a database? Or r u just testing? Ignatius > -Original Message- > From: Asendorf, John [mailto:[EMAIL

Re: [PHP-WIN] Question on using an array

2001-02-28 Thread Gonzalo Vera
You could try accesing by value number, instead of using value index name. Anyway, I fear that what you're doing is quite illegal, and what is really happening is that when you assign the first 'links.php', it is overwritten by the second assignment, which is in turn overwritten by the third. Try