How can i use real_escape_string
in sqlsrv?
This is my code:
$uname = sqlsrv_real_escape_string($conn, trim($_POST['uname']));
$pass = sqlsrv_real_escape_string($conn, trim($_POST['pword']));
but I recieve the following error:
undefined function
sqlsrv_real_escape_string