GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/check_availability.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); if(!empty($_POST['nameuser'])) { $result = "SELECT * FROM user_info WHERE username='" . $_POST['nameuser'] . "'"; $res_result=execute_query($result); $row_result = mysql_num_rows($res_result); $user_count = $row[0]; if($row_result>0) echo '<span style="color:#F00">Username Not Available.</span><br/>'; else echo "<span style='color:#0C3;' class='status-available'> Username Available.</span>"; } ?>