> $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
cont
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 un
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 m
> -Original 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...).
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 mod
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 yo
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 howev
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
>
8 matches
Mail list logo