:(

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\linqu.zyyspwlpt.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[24-10-08 22:10:10] D:\wwwroot\linqu.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)
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[24-10-08 22:10:10] D:\wwwroot\linqu.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 )
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Lib\Core\Model.class.php (497) Db->select(Array)
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\home\Lib\Action\IndexAction.class.php (97) Model->select()
[24-10-08 22:10:10] () IndexAction->index()
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Lib\Core\App.class.php (205) App::exec()
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Common\runtime.php (243) Think::start()
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\ThinkPHP.php (30) require(D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\Common\runtime.php)
[24-10-08 22:10:10] D:\wwwroot\linqu.zyyspwlpt.com\index.php (8) require(D:\wwwroot\linqu.zyyspwlpt.com\ThinkPHP\ThinkPHP.php)