Mysql
 sql >> Datenbank >  >> RDS >> Mysql

Php mehrdimensionales Array aus mysql-Ergebnis

$query = mysql_query("SELECT * FROM table WHERE uid = '1' ORDER BY id DESC");
$results = array();
while($line = mysql_fetch_array($query, MYSQL_ASSOC)){
    $results[] = $line;
}