le query ha dei problemi, x quello nn funziona il mysql_fetch_array

prova così:
codice:
$st=mysql_query("SELECT * FROM tabella") or die(mysql_error());
$temp=array();
while ($row=mysql_fetch_assoc($st))
    $temp[]=$row;
print_r($temp);