<?php
include 'config.php';
$account = htmlspecialchars($_GET['q'], ENT_QUOTES);
$account = str_replace(" ", "", $account);
$sql = "SELECT memb___id FROM MEMB_INFO WHERE memb___id='$account'";
$q = mssql_query($sql);
$broi = mssql_num_rows($q);
if ($broi == 0)
{
echo "<img src='/images/yes.gif'/>";
}
else
{
echo "<img src='/images/no.gif'/>";
}
?>