On 2/20/01 1:08 AM this was written:
> when poeple sign up to my site, how can i make a code that finds if
> there username is already in the database?
Um... Search for it.
$findit = mysql_query("Select username from usertable where username =
'$inputted_username'");
If (mysql_num_rows($findit)) {
echo "Error! username exists";
}
Or whatever code you want to add there.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]