When the user presses submit, I want to be emailed the information they put, with linebreaks, like this:
Info1: txt1
Info2: txt2
Info3: txt3
Info4: txt4
Info5: txt5
The code I have that grabs the data from the textbox is
Code: Select all
$message = $_POST['whatever'];Code: Select all
mail($to,$subject,$message,$headers);Tell me I haven't explained my problem clearly.