I have created a registration page in PHP and MySQL.
How to prevent user from registering again with the following details: "fname,lname,user_name,email,bikeno,mobileno".
I tried with the following select statement, but its not working.
$sql="select * from user_registration where fname='".$fname."' and lname='".$lname."' and user_name='".$user_name."' and email='".$email."' and bikeno='".$bikeno."' and mobileno='".$mobileno."'";
What I need is if the user gives any duplicate details in these columns the user is not registered.
