Storing in a database

Hello,

I am making this webpage so that the Athletic Trainers can add a treatment for a specific student.

I got the form done, now I am just getting into the PHP and the posting stuff. Here is what I have so far. Can anyone help me?

Time:
<input type="text" name="time" value="Time of Injury"><br />
Date:
<input type="text" name="date" value="Date of Injury"><br />
Student Name:
<input type="text" name="student_name" value="Student Name"><br />
Student Sport:
<select>
	<option>Wrestling</option>
	<option>Womens Basketball</option>
	<option>Boys Basketball</option>
	<option>Softball</option>
	<option>Baseball</option>
	<option>Mens Volleyball</option>
	<option>Womens Volleyball</option>
	<option>Track/Cross Country</option>
	<option>Mens Soccer</option>
	<option>Womens Soccer</option>
</select><br />
Injury Location:
<input type="text" name="injury_location" value="Injury Location"></br />
 
<form method="post" action="">
<textarea name="treatment" cols="40" rows="5">
Enter your treatment here...
</textarea><br />
</form>
Require Further Treatment?
<input type="checkbox" name="more_treatment" value="More Treatment Required?"><br />
<input type="submit" value="Add Your Treatment!">

if time, date, student_name etc are all part of the form, then :

put this line :

<form method="post" action=""> 

Before

Time: 
<input type="text" name="time" value="Time of Injury"><br /> 

and move the below line:

</form>

to the end of the form like put it after

<input type="submit" value="Add Your Treatment!"> 

So your complete form look like this :

<form method="post" action="PUT_YOUR_PHP_FILE_NAME_HERE"> 
Time: 
<input type="text" name="time" value="Time of Injury"><br /> 
Date: 
<input type="text" name="date" value="Date of Injury"><br /> 
Student Name: 
<input type="text" name="student_name" value="Student Name"><br /> 
Student Sport: 
<select> 
    <option>Wrestling</option> 
    <option>Womens Basketball</option> 
    <option>Boys Basketball</option> 
    <option>Softball</option> 
    <option>Baseball</option> 
    <option>Mens Volleyball</option> 
    <option>Womens Volleyball</option> 
    <option>Track/Cross Country</option> 
    <option>Mens Soccer</option> 
    <option>Womens Soccer</option> 
</select><br /> 
Injury Location: 
<input type="text" name="injury_location" value="Injury Location"></br /> 
<textarea name="treatment" cols="40" rows="5"> 
Enter your treatment here... 
</textarea><br /> 
Require Further Treatment? 
<input type="checkbox" name="more_treatment" value="More Treatment Required?"><br /> 
<input type="submit" value="Add Your Treatment!"> 
</form> 

Also there should be some PHP script that will receive the data as $_POST and process it. So put that in the action of the Form.

Hope this will help !

Zeeshan