Created
May 25, 2014 20:24
-
-
Save Tim-Machine/908c5eaab1ca96cf25f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $teamname = $_POST['teamname']; // this really should be cleaned | |
| $headcoach = $_POST['headcoach']; // clean this too | |
| $pnumber = $_POST['pnumber']; // clean this too | |
| $address = $_POST['address']; // clean this too | |
| $acoach = $_POST['acoach']; // clean this too | |
| $anumber = $_POST['anumber']; // clean this too | |
| $aaddress = $_POST['aaddress']; // clean this too | |
| $disclaimer = $_POST['disclaimer']; // clean this too | |
| $body = | |
| " | |
| teamname :: {$teamname}\n | |
| headcoach :: {$headcoach}\n | |
| pnumber :: {$pnumber}\n | |
| address :: {$address}\n | |
| acoach :: {$acoach}\n | |
| anumber :: {$anumber}\n | |
| aaddress :: {$aaddress}\n | |
| disclaimer :: {$disclaimer}\n | |
| " | |
| mail($to, $subject, $body); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment