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
> in a database? Or r u just testing? > > Ignatius > > > > -Original Message- > > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 1 March 2001 02:55 > > To: Php-Windows (E-mail) > > Subject: [PHP-WIN] Quest

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 [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 1 March 2001 02:55 > To: Php-Windows (E-mail) > Subject: [PHP-WIN] Question on using an array > > > I have an array which looks something like this: > > $arr_links = array('is/' => 'Info

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

[PHP-WIN] Question on using an array

2001-02-28 Thread Asendorf, John
I have an array which looks something like this: $arr_links = array('is/' => 'Information Systems' ,'hr/' => 'Human Resources' ,'planning/' => 'Planning Commission' ,'boe/' => 'Board of Elections' ,'vsc/' => 'Veterans\' C