Location: PHPKode > scripts > Symptoms and Diseases Database > Symptoms-and-diseases-database/checkMemberID.php
<?php ob_start(); ?>
<center>

<?php

	$d=dirname(__FILE__);
	include("$d/defaultLang.php");
	include("$d/language.php");
	include("$d/lib.php");

	$memberID=mysql_escape_string(strtolower($_GET['memberID']));
	if($memberID!=''){
		$res=sql("select memberID from membership_users where lcase(memberID)='$memberID'");
		if($row=mysql_fetch_row($res)){
			echo "<b>".str_replace("<MemberID>", $memberID, $Translation['user already exists'])."</b>";
		}else{
			echo "<b>".str_replace("<MemberID>", $memberID, $Translation['user available'])."</b>";
		}
	}else{
		echo $Translation['empty user'];
	}
?>

<br /><br /><input type="button" value="Close" onClick="window.close();">
</center>
Return current item: Symptoms and Diseases Database