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

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
read this page a little closer! http://www.php.net/manual/en/function.mysql-fetch-array.php the mysql_fetch_array(); does not pull all the results in one big array. it IS only a single row of data. try this out, it should do what you are looking to do. $results = mysql_query(SELECT * FROM

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

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