Hello, first of all I an new to PHP, so please excuse my ignorance..been playing with it for less than 24 hours. Now onto my question...
I have successfully written a simple FormMail script in PHP. Right now, there are only 3 fields in the form (Name, Email Address, and Message) I need to boast this number up to 7 (Name, Email Address, Phone Number, Street Address, City, State, and Zip Code). I also need to incorporate HTML Form Checkboxes. Like (what is your payment method..cash..credit..check) that would have three checkboxes in one question. I need to do that, but on a much bigger scale (around 60 or so checkboxes total)
My first question is how do incorporate all this information with the standard mail function of PHP (or something else, but right now I am only familar with the standard mail function) And my second question is how do I get PHP to go through all the checkboxes and only print (send through email) the ones that are checked. I tryed a if/elseif/else statement with a test script, and it failed..maybe because you can't have a if/elseif/else statement in the body string of the mail function?
If someone could help me, I would be very appreciative.