$goconnect = mysql_connect($db_connetion, $db_username, $db_password) or die ("Couldnt connect");
$godb = mysql_select_db($db_databse, $goconnect) or die ("Couldnt open Database");
$gosql = "SELECT COUNT(*) FROM Lusers WHERE Uusername = '$username' or Uemail = '$email'";
$goresult = mysql_query($gosql);
if (!$goresult) {
echo "<center>A database error occurred in processing your submission.\nIf this error persists, please contact [email]you@yourdomain.com[/email]</center>";
}
if (@mysql_result($goresult,0,0)>0) {
echo "<center>A <b>user</b> already exists with your chosen <b>username</b> and or <b>email</b>.\n Please try another. If you keep getting this error please contact the maker of the game at <a href='mailto:$masteremail'>$masteremail</a></center>";
} else {
that should give you a idea