$query = mysql_query("SELECT whatever FROM whatever;");
while($row = mysql_fetch_array($query))
$construct[] = $row[whatever];
That will give you an array (construct) with position 0 being the first
row, position 1 being the second row, and so on.
Adam Voigt
[EMAIL PROTECTED]
On Mon, 20
"Adam Alkins" <[EMAIL PROTECTED]> wrote on 07/13/2002 07:56:46 PM:
> > I have a database, all the data is numbers. I want to make a query that
> > will extract the data and then make it available in an array, so the
> > array is populated 'real-time'. I could just enter the number into an
> > ar
> I have a database, all the data is numbers. I want to make a query that
> will extract the data and then make it available in an array, so the
> array is populated 'real-time'. I could just enter the number into an
> array manually, but I want to automate the job. I don't know what to
> start lo
I have a database, all the data is numbers. I want to make a query that
will extract the data and then make it available in an array, so the
array is populated 'real-time'. I could just enter the number into an
array manually, but I want to automate the job. I don't know what to
start looking for,