:(

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

TRACE

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