Newbie Spellweaver
- Joined
- Jan 8, 2023
- Messages
- 27
- Reaction score
- 2
register odbc connection problems...
it tells me i got an error on line 65 once i register.
that is line 65
i can actually get passed that error
that gets me to that first one posted just by removing ";" on line 63
it tells me i got an error on line 65 once i register.
that is line 65
PHP:
$check = "SELECT
PHP:
// check about account name is taken
$check = "SELECT
[ID] FROM [Login]
WHERE
[ID]='%s'
OR
[ID]='%s'
OR
[ID]='%s'
OR
[ID]='%s'
";
$check = sprintf($check,$username,
strtolower($username),
strtoupper($username),
ucfirst($username)
);
$exec = odbc_exec($conn,$check);
i can actually get passed that error
PHP:
Fatal error: Uncaught Error: Call to undefined function odbc_connect() in C:\xampp\htdocs\reg\index.php:61 Stack trace: #0 {main} thrown in C:\xampp\htdocs\reg\index.php on line 61