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 !
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
(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
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
] 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
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
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
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
11 matches
Mail list logo