$strSQL = "SELECT * FROM member WHERE Username='$entlogin' and Password ='$entpass'";
$objQuery = mysql_query($strSQL);
$loginrows = mysql_fetch_array($objQuery);
$strSQL = "SELECT * FROM member WHERE Username='$entlogin' and Password ='$entpass'";
$objQuery = mysql_query($strSQL);
$loginrows = mysql_num_rows($objQuery);