Valeri173

Untitled

Oct 20th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php
  2. $river = $_GET["river"];
  3. $town = $_GET["town"];
  4. $mountain = $_GET["mountain"];
  5. $counter = 0;
  6. if($mountain == "Musala")
  7. {
  8. $counter++;
  9. }
  10. if($town == "Sofia")
  11. {
  12. $counter++;
  13. }
  14. if($river == "Bela")
  15. {
  16. $counter++;
  17. }
  18. echo "Imate " . $counter . "/" . count($_GET)
  19. ?>
Add Comment
Please, Sign In to add comment