PHP程序中使用下面定義下面SQL語句,從數據庫讀取數據$sql_getdate="select detection_date from tm_bug a where a.ft_id='$taskID'";程序執行時報錯如下:ERROR:Unknown column 'detection_date' in 'field list'the wrong sql:select detection_date from tm_bug a where a.ft_id='T03475'但是使用數據庫工具HeiDiSQL連接數據庫,執行語句select detection_date from tm_bug a where a.ft_id='T03475'時,可以正常查出所需數據請問哪位知道是什么原因?
添加回答
舉報
0/150
提交
取消