i have an error in the following line in my sql query:
$result = mysql_query("SELECT password FROM user WHERE user_name='$client_user_name' ",$db);
"password" is a column in the "user" table. "user_name" is another column. "$client_user_name" is the name of an <input>-tag.
i want the variable $result to contain the password if the value in the input-field equals the value from the database
$result = mysql_query("SELECT password FROM user WHERE user_name='$client_user_name' ",$db);
"password" is a column in the "user" table. "user_name" is another column. "$client_user_name" is the name of an <input>-tag.
i want the variable $result to contain the password if the value in the input-field equals the value from the database