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!

Help with register, please?

Loz

Newbie Spellweaver
Joined
Jan 22, 2017
Messages
12
Reaction score
0
Would someone kindly be able to help with this register?
I've edited the config to my server/database names, made the recommended changes the index file and added the the extensions to my PHP file, I'm not really sure what else to do now since I'm pretty new to this :blushing:. The version I'm using is 7.4.19.

I'd really appreciate the help, thank you!
re - Help with register, please? - RaGEZONE Forums Index - Help with register, please? - RaGEZONE Forums ph - Help with register, please? - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list

cMu

Elite Diviner
Joined
Jan 8, 2017
Messages
427
Reaction score
133
chane your parameters and name them, for example:
$sth = $dbh->prepare("SELECT COUNT(*) FROM tUser WHERE sUserID = :uid");
$sth->bindParam(":uid", $_POST['uid'], PDO::pARAM_INT);

change ur fetchColumn() if to:
if(!$sth->rowCount()) {

there is no need to fetch the row cause u won't use it, u just check if the user exists.
 
Back
Top