Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $a = mysql_query("SELECT * FROM users WHERE id = '" . $_SESSION['user']['id'] . "'");
- $b = mysql_fetch_assoc($a);
- if($b['country'] == 'United Kingdom')
- { ?>
- LALALA
- <?php }
- ?>
- How would I add multiple if($b['country'] == 'other country') in it without recreating the same statement again?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement