Current Path : /home/lentoinv/covisclubinternational.com/profile/ |
Current File : //home/lentoinv/covisclubinternational.com/profile/verify.php |
<?php session_start(); include("lib/constant.php"); $user= $_GET['user']; $sql = $db->query("SELECT * FROM user WHERE user='$user' "); $row = mysqli_fetch_assoc($sql); if(mysqli_num_rows($sql)==1 AND $row['active']<3){ echo '<span class="text-success">'.$row['firstname'].' '.$row['lastname'].' ['.$row['active'].']</span>'; }else{ echo 'Username Invalid or Not Eligible'; } ?>