Changed PHP code from SQLSRV to MySQL