HOME > PHP > PHP Forum > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\editSection.php on line 25 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\editSection.php on li
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\editSection.php on line 25 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\editSection.php on li
$sq ="SELECT MAX (sectionid) AS sectioned FROM tbsection"; <<<<<<<<< ชื่อตัวแปรผิด ลืมใส่ l
$result=mysql_query($sql); <<<<<<<<<<< เรียก $sql ซึ่งด้านบนมันแค่ $sq เป็นคนละตัวกัน