Advertisement
touhid_xml

nion002 logical operator

Jan 27th, 2018
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. <?php
  2. $country = 'BD';
  3. $city = 'Dinajpur';
  4.  
  5. if($country == 'BD' AND $city == 'Dinajpur'){
  6. echo 'Your location is correct';
  7. }else{
  8.     echo 'Your location is not correct';
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement