Rumah > Artikel > pembangunan bahagian belakang > Warning: mssql_query() [function.mssql-query]: Query failed in,该如何处理
Warning: mssql_query() [function.mssql-query]: Query failed in
sql在数据库中能正确执行,但用php执行报错:
Warning: mssql_query() [function.mssql-query]: Query failed in...
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in...
错误出现的行如下:
$query = mssql_query($sql);<br />while($row=mssql_fetch_array($query)){