I have-
$Query = "SELECT * from $TableName";
$Result = mysql_db_query ($DBName, $Query, $Link);
while ($Row = mysql_fetch_row ($Result)) {
if ($user_name == $Row[1]){
echo "YES";
} else {
echo "No";
}}
How to I keep adding 1 to the row number to check all rows. I tried $Row[user_name] (which is the name in the table for that colum) but it doesn't work right.
Im trying to check for a user name and password match, once I get it to check for a user name I think I can get it to check for the password too. Any help would be great.
Thank you.