Salve, data una query
Codice PHP:
$sql "SELECT `table`.* FROM `table` ORDER BY `order`;";
$ris mysql_query($sql$conn) or die ("die!");
while(
$row mysql_fetch_array($ris)) { 
ho notato che per riutilizzare i dati estrapolati dal while, fuori di esso devo associarli ad una variabile.
Ad es.:
Codice PHP:
while($row mysql_fetch_array($ris)) {
$dato1 $row['dato1'];
}
echo 
$dato1//ok! 
Esiste una funzione che trasporta tutto l'array fuori dal while in modo da poterlo utilizzare successivamente?