lli2k5
09-05-2006, 12:21 AM
$result = mysql_query("SELECT FROM at ORDER BY pubdate DESC LIMIT 25");
$AT_array;
$i=0;
while($row = mysql_fetch_array($result, MYSQL_NUM))
{
$AT_array[$i]=array($row[0],$row[1],$row[2],$row[3]);
$i++;
}
Why doesn't this work?. I'm tryig to store data from MySQL into an array.
$AT_array;
$i=0;
while($row = mysql_fetch_array($result, MYSQL_NUM))
{
$AT_array[$i]=array($row[0],$row[1],$row[2],$row[3]);
$i++;
}
Why doesn't this work?. I'm tryig to store data from MySQL into an array.