aku nok ndi : /home/astwardha/public_html/astwardha/astwardha.in/polylibrary/ |
aku nok ndi : /home/astwardha/public_html/astwardha/astwardha.in/polylibrary/check_code.php |
<?php require_once("dbcon.php"); if(!empty($_POST["code"])) { $query = mysql_query("SELECT * FROM `registration` WHERE code='" . $_POST["code"] . "'"); $user_count = mysql_num_rows($query); if($user_count>0) { echo "<span class='status-not-available' style='color:green;'><b> OTP Match.</b></span>"; }else{ echo "<span class='status-available' style='color:red;'> <b>OTP Not Match.</b></span>"; } } ?>