mysql_fetch_row — Devuelve una fila de resultado como matriz
array mysql_fetch_row ( int id_resultado )
<?php
$result = mysql_query("SELECT id,email FROM people WHERE id = '42'");
if (!$result) {
echo 'Could not run query: ' . mysql_error();exit;
}
$row = mysql_fetch_row($result);echo
$row[0]; // 42 echo $row[1]; // the email value
?>
Más info: php.net