Username and password

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Zaroth
Forum Newbie
Posts: 5
Joined: Sat Jun 12, 2010 8:37 pm

Username and password

Post by Zaroth »

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
Phoenixheart
Forum Contributor
Posts: 123
Joined: Tue Nov 16, 2004 7:46 am
Contact:

Re: Username and password

Post by Phoenixheart »

mysql_num_rows()
Post Reply