Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $categories = explode(", ", $_GET['categories']);
- $tags = explode(", ", $_GET['tags']);
- $months = explode(", ", $_GET['months']);
- echo '<h2>Categories</h2><ul>';
- foreach ($categories as $category) {
- echo '<li>' . $category . '</li>';
- }
- echo '</ul>';
- echo '<h2>Tags</h2><ul>';
- foreach ($tags as $tag) {
- echo '<li>' . $tag . '</li>';
- }
- echo '</ul>';
- echo '<h2>Months</h2><ul>';
- foreach ($months as $month) {
- echo '<li>' . $month . '</li>';
- }
- echo '</ul>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement