Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $images = [
- 1 => 'cat.jpg',
- 2 => 'dog.jpg',
- 3 => 'chip.jpg',
- 4 => 'horse.jpg',
- ];
- echo $images[$_GET['id']];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement