Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: jeigu egzistuoja

Parašė Reamis· 2011 Kov. 29 17:03:17
#2


$checkuser = mysql_query("SELECT username FROM users WHERE username='$username'");
 
$username_exist = mysql_num_rows($checkuser);
 
if($username_exist > 0){
    echo "I'm sorry but the username you specified has already been taken.  Please pick another one.";
    unset($username);
    include 'register.html';
    exit();
}
 

http://www.swish-db.com/tutorial...hp/tid/601