echo"<b>Minimum Username and Password is 6 character.</b><br>";
echo"<meta http-equiv='refresh' content='3;URL=register_form.php'>";
exit();
}
include_once("../include/connectdb.inc.php");
$sql ="SELECT user_username FROM user_mst WHERE user_username = '$user_username' ";
$dbquery = mysql_query($sql);
$result = mysql_fetch_array($dbquery);
if($result)
{
echo"Account <b>$user_username</b> is not available.<br>";
echo"Your username has been used by others. Please try another.<br>You can try adding number (1,2,3...10) to your username or use '_' between the letters.";
echo"<hr><br>";
echo"<meta http-equiv='refresh' content='3;URL=register_form.php'>";
exit();
}
if($user_password != $user_passwordfirm)
{
echo"<b>password and confirm password do not match.</b><br>";
echo"<hr><br>";
echo"<meta http-equiv='refresh' content='3;URL=register_form.php'>";
exit();