- Joined
- Dec 15, 2009
- Messages
- 1,382
- Reaction score
- 236
So here's what I did:
It works actually however I frequently (not usually but most of the time) receive this error:
Can anyone explain what's the meaning this particular issue?
PHP:
elseif (mysql_num_rows(mysql_query("SELECT Username FROM members WHERE Username = '$reg_username'"))){
$msg1 = 'Username Not Available!<br />';
$user = 'denied';
$status= 'denied';
$reg_username = $_POST['reg_username'];}
It works actually however I frequently (not usually but most of the time) receive this error:
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Class2c1\register-testing.php on line 51
Can anyone explain what's the meaning this particular issue?

