[PHP] array help please

2003-01-05 Thread John Fishworld
can someone give me a bit of help / walthrough the following for me ! this first bits is okay $mysql query1 result array[cityid][cityname] mysql query2 result array[cityid][cityname] now what i want to do is kick out any doubles in my array and resort them alphebetically by cityname ?! help !

Re: [PHP] array help please

2003-01-05 Thread David T-G
John, et al -- ...and then John Fishworld said... % % can someone give me a bit of help / walthrough the following for me ! Let's see if I can help. % this first bits is okay % $mysql query1 % result % array[cityid][cityname] % % mysql query2 % result % array[cityid][cityname] Are CityIDs

RE: [PHP] array help please

2003-01-05 Thread David Freeman
$mysql query1 result array[cityid][cityname] mysql query2 result array[cityid][cityname] now what i want to do is kick out any doubles in my array and resort them alphebetically by cityname ?! It's difficult to answer this question without knowing more about the context and

[PHP] Array HELP PLEASE

2001-11-08 Thread René Fournier
(Before you write RTFM, please know that I have checked www.php.net, zend.com, phpbuilder.com, et all, and--in the eternal words of Bono--I still haven't found what I'm looking.) The situation: I extract an array from a MySQL table. Code: $models = mysql_fetch_array(mysql_query(SELECT

RE: [PHP] Array HELP PLEASE

2001-11-08 Thread René Fournier
Oops, guess I posted too soon. Just figured out the problem myself (use a do/while...). Thanks anyways. -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 08, 2001 3:25 PM To: Php-General Subject: [PHP] Array HELP PLEASE (Before you write

Re: [PHP] Array HELP PLEASE

2001-11-08 Thread Jim Lucas
] Array HELP PLEASE (Before you write RTFM, please know that I have checked www.php.net, zend.com, phpbuilder.com, et all, and--in the eternal words of Bono--I still haven't found what I'm looking.) The situation: I extract an array from a MySQL table. Code: $models = mysql_fetch_array

RE: [PHP] Array HELP PLEASE

2001-11-08 Thread René Fournier
Message- From: René Fournier [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 08, 2001 3:39 PM To: Php-General Subject: RE: [PHP] Array HELP PLEASE Oops, guess I posted too soon. Just figured out the problem myself (use a do/while...). Thanks anyways. -Original Message- From

RE: [PHP] Array HELP PLEASE

2001-11-08 Thread Martin Towell
PROTECTED]] Sent: Friday, November 09, 2001 10:06 AM To: Php-General Subject: RE: [PHP] Array HELP PLEASE Or maybe not. :-) Although I got both rows displaying, they're actually two long to fit comfortably (w/o horizontally scrolling). So... I'd like to flip the axis of the table, so my header

[PHP] Array help please

2001-05-04 Thread peter.beal
I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it occasionally crashed with database errors. When I look at the code it has a lot of array references that i don't understand e.g. $Session[clientID] most references at are of

Re: [PHP] Array help please

2001-05-04 Thread Jason Stechschulte
On Fri, May 04, 2001 at 01:19:57PM +0100, peter.beal wrote: I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it occasionally crashed with database errors. When I look at the code it has a lot of array references that i don't

Re: [PHP] Array help please

2001-05-04 Thread peter.beal
Thanks Peter Jason Stechschulte [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, May 04, 2001 at 01:19:57PM +0100, peter.beal wrote: I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it