$sql= "select * from page LIMIT ".(($page-1)*10).",10";
在這里,老師的視頻上是($page-1)*10 外邊不加括號這樣會報錯。
(($page-1)*10) 要加括號。
在這里,老師的視頻上是($page-1)*10 外邊不加括號這樣會報錯。
(($page-1)*10) 要加括號。
2016-07-16
出現了這個 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
2016-07-15