On Thursday, June 27, 2002, at 04:20 AM, Jefferson Cowart wrote:
> Is there any way to return all the rows returned by a mysql query with
> one command. Currently I have to run through a for or while loop the
> same number of times as there are rows and take that row and copy it to
> an array.
Jefferson,
I am wondering why you would want to do this. If you get the sql
statement to order the rows the way you need to use them then there
should not be a need to refer back to earlier rows. I sometimes need to
know if one field has the same value as in the previous record, so I
keep its
> Is there any way to return all the rows returned by a mysql query with
> one command. Currently I have to run through a for or while loop the
> same number of times as there are rows and take that row and copy it
to
> an array. I end up with an array of arrays but it seems like it would
be
> a c
On Thursday 27 June 2002 16:20, Jefferson Cowart wrote:
> Is there any way to return all the rows returned by a mysql query with
> one command.
I don't think there is a built-in command to do so.
> Currently I have to run through a for or while loop the
> same number of times as there are rows
Is there any way to return all the rows returned by a mysql query with
one command. Currently I have to run through a for or while loop the
same number of times as there are rows and take that row and copy it to
an array. I end up with an array of arrays but it seems like it would be
a common enou
5 matches
Mail list logo