Username and password
Posted: Sat Jun 19, 2010 5:53 am
I created a table that stores "username" and "password". Table that stores games to sell. I'm using window form text boxxes to input "username" "password" "game_name" "game_price" "game_description".
Now I need to figure out the proper syntax to match a string stored in the users table to match the input of the textbox.. Something like this?
$query = "Select * from user where user_name = input_user
if $query finds user..
Insert something
else
login failed
Now I need to figure out the proper syntax to match a string stored in the users table to match the input of the textbox.. Something like this?
$query = "Select * from user where user_name = input_user
if $query finds user..
Insert something
else
login failed