PHP 怎么判断数据库 的某内容搜索不到?
用select*fromXXXwhereAAA搜索,不到AAA的内容,怎么判断,然后告知用户,查询不到,而不是,显示错误??Warning:mysql_data_seek...
用
select * from XXX where AAA
搜索,不到AAA 的内容,怎么判断,然后告知用户 ,查询不到,而不是,显示错误??
Warning: mysql_data_seek() [function.mysql-data-seek]: Offset 0 is invalid for MySQL result index 4 (or the query data is unbuffered) in E:\AppServ\www\cj.php on line 123 展开
select * from XXX where AAA
搜索,不到AAA 的内容,怎么判断,然后告知用户 ,查询不到,而不是,显示错误??
Warning: mysql_data_seek() [function.mysql-data-seek]: Offset 0 is invalid for MySQL result index 4 (or the query data is unbuffered) in E:\AppServ\www\cj.php on line 123 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询