Ciao a tutti, facendo

$stmt = mysql_db_query(MYSQL_DB, $sql) or die("Errore: " . mysql_error() );
$res = mysql_fetch_assoc($stmt);

ottengo un array "campo" => valore

ma vedo un solo record dela tabella.... corretta??


Come posso vedere tutti i record, creando una struttura del tipo:


Array
(
[0] => Array
(
[id] => 2
[Data] => 2011-05-17 00:00:00
[CodiceCliente] => ABC123
)

[1] => Array
(
[id] => 3
[Data] => 2011-05-11 00:00:00
[CodiceCliente] => ABC123



Grazie