Warning: mysql_fetch_object (): Success: mysql_fetch_object (): suppliedargumentisn Warning: mysql_fetch_object (): supplied argument is not a valid MySQL result res
Warning: mysql_fetch_object (): supplied argument is not a valid MySQL result resource in/home/www/web/vipcha.net _ aFKgRRM1uWJpHqxlIBez/wwwroot/cy/view. php on line 9
Require_once ("checkpostandget. php ");
Require_once ("global. php ");
// $ ID = intval ($ _ GET ['id']);
$ ID = intval (base64_decode ($ _ GET ['id']);
$ Query = "select * from chengyu where ID =". $ ID ."";
$ Result = mysql_query ($ query );
While ($ rs = mysql_fetch_object ($ result )){
?>
While ($ rs = mysql_fetch_object ($ result) {// 9th rows
------ Solution --------------------
ID, iD, and id .. First, write the variable names in the correct case.
------ Solution --------------------
$ Query = "select * from chengyu where ID =". $ ID. "";
$ ID has no value
------ Solution --------------------
Obviously, mysql_query has no value, and mysql_query has no value. it may be because the $ query statement has an error. $ Query has no error, indicating that $ ID is incorrect.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service