มันขึ้นยังงี้อะครับWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Project 7418\photogallery\view.php on line 61
$sql="select * from tb_photo order by id_photo desc limit $start,1";
$result=mysql_db_query($dbname, $sql);
เปลี่ยนเป็น
$sql="select * from tb_photo order by id_photo desc limit $start,1";
$result=mysql_db_query($dbname, $sql) or die(mysql_error() . "<br />" . $sql);