Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = "SELECT * FROM ".$table_users." WHERE user='".$name."' and pass='".$pass."' LIMIT 1";
- echo $sql;
- $result = mysqli_query($db, $sql);
- $row = mysqli_fetch_array($result);
- $activated = $row['activated'];
- echo $row['activated'];
- $count = mysqli_num_rows($result);
- if ($count == 1) {
- if ($activated == 1) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement