I'm trying to write a registration/login script that connects to an access database through odbc. When I enter the data to register and submit it I get the following error
PHP Fatal error: Call to undefined function odbc_query() in D:\Inetpub\ on line 17
The Code is as follows:
$usercheck = $_POST['username'];
$check = odbc_query("SELECT username FROM users WHERE username = '$usercheck'")
or die(odbc_error());
When I try using odbc_do I get this error
PHP Warning: Wrong parameter count for odbc_do() in D:\Inetpub\ on line 17
I'm new to php and any help would be greatly appreciated.
PHP Fatal error: Call to undefined function odbc_query() in D:\Inetpub\ on line 17
The Code is as follows:
$usercheck = $_POST['username'];
$check = odbc_query("SELECT username FROM users WHERE username = '$usercheck'")
or die(odbc_error());
When I try using odbc_do I get this error
PHP Warning: Wrong parameter count for odbc_do() in D:\Inetpub\ on line 17
I'm new to php and any help would be greatly appreciated.