Menu
I have a user registration form and I know how to submit the data to MySQL but before the data gets submitted I want to check and see if the username they entered is already taken. I can do this in asp/vbscript but I’m lost here.
$USERNAME = $_POST[‘username’]
$_SQL = “SELECT USER_NAME FROM MEMBERS WHERE USER_NAME='” & $USERNAME & “;”
If EOF Then
*//Code if username not taken
Else
End if
This is very generic so you get an idea of what I’m looking for. Can anyone help?? ?