I am using SQLSRV 3.0 for PHP and working against a MSSQL2008.
My problem I am having, is that I can\'t get a LIKE statement in the query to work?
$conne
Adjust your code to the following:
$sql = "select * from tbl where col2 LIKE ? or col2 LIKE ?"; $params = array($sID."%", $sUser."%"); $stmt = sqlsrv_query( $conn, $sql, $params);