Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="contact.php?title=Jimmy&emailto=jimmy@mysite.com">
- <?php
- // Checks to see if $emailto is empty, if so, it will send to this default email address
- if (empty($_GET['emailto'])) {
- $_GET['emailto'] = 'info@mysite.com';
- }
- ?>
- <?php
- // Checks to see if $title is empty, if so, will default the the selected title "US"
- if (empty($_GET['title'])) {
- $_GET['title'] = 'Us';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement