Skip to content

Instantly share code, notes, and snippets.

@Tim-Machine
Created May 25, 2014 20:24
Show Gist options
  • Select an option

  • Save Tim-Machine/908c5eaab1ca96cf25f5 to your computer and use it in GitHub Desktop.

Select an option

Save Tim-Machine/908c5eaab1ca96cf25f5 to your computer and use it in GitHub Desktop.
$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