我出现这样的问题?怎么解决?Notice: Undefined index: p in F:\1yyc\page.php on line 2
Fatal error: Call to undefined function mssql_fetch_assoc() in F:\1yyc\page.php on line 18
Fatal error: Call to undefined function mssql_fetch_assoc() in F:\1yyc\page.php on line 18
2016-06-04
Notice: Undefined variable: pageNum in E:\phph\wamp\www\page.php on line 15
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in E:\phph\wamp\www\page.php on line 17
一直出错
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in E:\phph\wamp\www\page.php on line 17
一直出错
2016-05-18
$sql="select goods_id,goods_name,goods_price from tdb_goods order by goods_id limit ".(($page-1)*10).",10"; 用空格法我这里还是报错,这个不报错。至于出现Notice: Undefined index: p in 错误的朋友,那是你没传参数给$page 用这个 http://localhost/php/mypage.php?p=1
2016-05-17
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-05-16
报错如下:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\e2php_12_20\htdocs\article\mypage.php on line 23
Warning: mysql_free_result(): 同上
Warning: mysql_fetch_array(): 同上
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\e2php_12_20\htdocs\article\mypage.php on line 23
Warning: mysql_free_result(): 同上
Warning: mysql_fetch_array(): 同上