:(

Unknown column 'index.php' in 'where clause' [ SQL语句 ] : SELECT * FROM `cn_product` WHERE id=index.php ORDER BY h_orderid desc LIMIT 1

错误位置

FILE: D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (320) trace(Unknown column 'index.php' in 'where clause'
[ SQL语句 ] : SELECT * FROM `cn_product` WHERE id=index.php ORDER BY h_orderid desc LIMIT 1 , , ERR)
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Core\Db.class.php (739) DbMysql->query(SELECT * FROM `cn_product` WHERE id=index.php ORDER BY h_orderid desc LIMIT 1 )
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Core\Model.class.php (497) Db->select(Array)
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\home\Lib\Action\IndexAction.class.php (61) Model->select()
[19-10-16 19:39:10] () IndexAction->index()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Core\App.class.php (205) App::exec()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Common\runtime.php (243) Think::start()
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\ThinkPHP.php (30) require(D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\Common\runtime.php)
[19-10-16 19:39:10] D:\wwwroot\xindou.zyyspwlpt.com\index.php (8) require(D:\wwwroot\xindou.zyyspwlpt.com\ThinkPHP\ThinkPHP.php)