Radio Button to Email

Soldato
Joined
27 Mar 2004
Posts
14,081
Location
Between Realities
I am creating a simple Fault Reporting Form on our webpage.

I have managed to get the form up using PHP and HTML.

And the form relays back to us Via email.

Name
Room
Computer
Fault


Now there are some PRE checks I would like people to complete in order for us to help them better.

Simple questions like, have you checked all cables are secure?

Yes o
No o

I am completely new to PHP and not all that great at HTML, but you learn by doing right :D


Here's what i have so far for the HTML side of things

Code:
<div class="two">
Online Fault Report Page<br>
<br><br>
Are all cables secure, including mains and network cable?<br>
<input type="radio" name="group1" value="CablesYes"> Yes<br>
<input type="radio" name="group1" value="CablesNo"> No<br>
<hr>

That bit was easy, but obviously not enough considering it has no interaction with PHP.

Any help would be great.

Also, A point in the direction of a good website for people new to PHP would be nice :)
 
Slightly confused by what you want?

If you have a form submitting to a PHP page and then emailing it, all you need to do is use the value from the radio button in the PHP page to put it in the email?
 
Back
Top Bottom