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
$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
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
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
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
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
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
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
8 matches
Mail list logo