Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $river = $_GET["river"];
- $town = $_GET["town"];
- $mountain = $_GET["mountain"];
- $counter = 0;
- if($mountain == "Musala")
- {
- $counter++;
- }
- if($town == "Sofia")
- {
- $counter++;
- }
- if($river == "Bela")
- {
- $counter++;
- }
- echo "Imate " . $counter . "/" . count($_GET)
- ?>
Add Comment
Please, Sign In to add comment