Well I plan to add more fields later so is there any way I could create an array and loop??
Here's what I have but only inserts one date...
for ($j=0;$j<sizeof($date);$j++)
{
$date=$date[$j];
// Perform Update Query
$query = "Insert into date values(NULL, '".$date."', '".$course."')";
$result = mysql_query($query) or die(mysql_error());
}
And here's the textfield:
<input type="text" name="date[]" id="date1" value="" />