:(

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

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