check if user exists
| From: | Ker Ruben Ramos | Date: | Wed, 01 Aug 2001 18:44:55 +0000 |
| Subject: | check if user exists | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-60737@lists.php.net to get a copy of this message | ||
how do i check if user exist?
I tried...
$result = mysql_query("SELECT count(uname) FROM users WHERE
uname=\'$username@$domain\'");
if(isSet($result))
return("Username already exists.<br>\n");
but still wont work.. :(