Warning: Undefined variable $info in W:\web\wdev\product.php on line 24

Warning: Trying to access array offset on value of type null in W:\web\wdev\product.php on line 24

Warning: Undefined variable $info in W:\web\wdev\product.php on line 24

Warning: Trying to access array offset on value of type null in W:\web\wdev\product.php on line 24
SQLSTATE: 42000
code: 156
message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]接近關鍵字 'and' 之處的語法不正確。

Fatal error: Uncaught TypeError: sqlsrv_has_rows(): Argument #1 ($stmt) must be of type resource, null given in W:\web\wdev\include\inc\db_mssql.class.php:67 Stack trace: #0 W:\web\wdev\include\inc\db_mssql.class.php(67): sqlsrv_has_rows() #1 W:\web\wdev\product.php(28): dbstuff->has_rows() #2 W:\web\wdev\index.php(208): include('...') #3 {main} thrown in W:\web\wdev\include\inc\db_mssql.class.php on line 67