hello, i am trying to make a login script. i tryed making it by looking at examples but now i am lost and cant understand whats wrong. What can i change in my code to make it work i have en error Warning: mysql_num_rows(): supplied argument is not a valid
My table is different from the example i got some of the code from.I think that could be the problem. i dont totaly understand the rows code i have attacked a SS of how my table looks like from myphpadmin. i hope the info provided is helpfull. thank you for the help in advens.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
echo "Wrong Username or Password";