• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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