Chances are they have and don't get it. PHP Fatal error: Call to undefined function mssql_query () The code on the php: session_start (); include_once ("connect.php"); if (isset ($_POST ['username'])) { $username = $_POST ['username']; $password = $_POST ['password']; $sql = "SELECT * FROM test WHERE username='".$username."' PTIJ Should we be afraid of Artificial Intelligence. Understand that English isn't everyone's first language so be lenient of bad You don't have the MS SQL Drivers installed. However this define doesn't make it work. Surface Studio vs iMac - Which Should You Pick? ; 4; + 1.5. 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 Do NOT incorporate potentially unsafe values in SQL text. Connect and share knowledge within a single location that is structured and easy to search. 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 As a result, the program does not render the input correctly and displays call to undefined function mysql_connect () PHP 7 on your computer. What does a search warrant actually look like? Asking for help, clarification, or responding to other answers. Gunakan MySQLi. Why the Call to undefined function mysql_connect occurs? +1 (416) 849-8900, the first username row is passed on to $table_users,and so on untill the query is finish,