im trying print records from my db (IIS, MSSQL PHP) but i have this error… Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in Answer Your query failed. This causes sqlsrv_query() to return false. Your error in your query is an errant comma: Remove it and your query should work. FYI, you don’t check for errors in your