Hi! I'm trying to make this form working with a mail() script. I made this form. Then the customer could write how many "pizzas" or "hamburgers" as he want. But how do I solve this without too much headache? Havent slept for days because of this problem : )
<input type="text" name="pizza"> <input type="text" name="chips"> <input type="text" name="hamburger"> -------- script ---------------- <?php /* recipients */ $to = "[EMAIL PROTECTED]" ; /* subject */ $subject = "Order"; /* message */ $message = "I would like to order $?"; /* To send HTML mail, you can set the Content-type header. */ /* additional headers */ $headers = "From: Someone <[EMAIL PROTECTED]>\r\n"; /* and now mail it */ mail($to, $subject, $message, $headers); Best regards Raymond -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]