Notice: Undefined index: p in F:\PHP\apache\htdocs\php-project\mypage.php on line 6
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in F:\PHP\apache\htdocs\php-project\mypage.php on line 24
我跟着老师节奏走。。可是还是出现三个错误..
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in F:\PHP\apache\htdocs\php-project\mypage.php on line 24
我跟着老师节奏走。。可是还是出现三个错误..
2016-03-03
$sql="SELECT*FROM khly LIMIT ".(($page-1)*10).",10";新手在这里比较容易犯错,在LIMIT后面要加个空格!不然你的循环语句看似不错,一运行就报错!我也是初学者,以前在学校学过点点!还好这个错误解决办法以前老师提过!呵呵!
2016-02-27