function validuser(form1) {
if $str="select * from member where username ='".$_POST['username']."'";
$result = mysql_query($str,$conn);
if(!mysql_num_rows($result);)
return false;
}
return true;
}
function validuser(form1) {
if $str="select * from member where username ='".$_POST['username']."'";
$result = mysql_query($str,$conn);
if(!mysql_num_rows($result)){
return false;
}
return true;
}