question

Rattler58 avatar image
Rattler58 asked

Check for valid record not checking.

// Validate Registration Key Entered.
$sql= "SELECT * FROM registration WHERE reg_key= '$regkey'";
if ($regkey == reg_key && used =='No'){
die("Key already in use...");
}
echo " Unused Key Found....";

No matter what I enter it passes through like itmis good.

sql
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.