ลองทำแล้วค่ะแต่ขึ้น errorอย่างนี้ค่ะ
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\old\index.php on line 162
โค้ดที่ลองใส่นะค่ะ Code
<?
include('Connections/conn.php');
$sql = "select * from user order by id desc";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
echo $row[id]."<br>";
echo $row[username]."<br>";
?>