Form - php - email...Help!!
Form - php - email...Help!!
Out of context: Reply #1
- Started
- Last post
- 7 Responses
- crillix0
The php code you pasted appears to be just some of the validation code and not the sending bit, with out more info on what your code is doing its hard to say where the issue is.
With the radio buttons, do you want them to only be able to select one? or have the option to select both? If it is only select one or the other, then you need to change the name of the radio buttons to be the same.
Either way a simple if statement of..
if($_POST['xxRadioButtonNamexx'] != "")
{ ** do something ** }... in your sending bit would work. The do something would be similar to how the other pieces of data are collected to create the body of the email.
- selecting both would be a checkbox********
- Ummm not with how the original html was done.crillix
- selecting both would be a checkbox