Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

register

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
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
that gets me to that first one posted just by removing ";" on line 63
 
Initiate Mage
Joined
Apr 15, 2020
Messages
2
Reaction score
1
As you can read in the error message the function to connect to the db (odbc_connect) is undefinded
 
Upvote 0
Back
Top