i was looking to get a little direction on what i need to do next. i am trying to make a concert listing to where people can add shows with a form on the website. i want the form to add a new row to the table when the new info is submited. that is the point where i'm stuck right now. i just started learning php and html and was wondering if i could accomplish my task with these, or if i need to learn something else. here is what i have so far. also if i load the file
testform.php
<form action="testaction.php" method="post">
<body bgcolor="sky blue">
<p>Date: <select name="month"><option><option>Jan.<option>Feb.<option>Mar.<option>Apr.<option>May<option>June<option>July<option>Aug.<option>Sep.<option>Oct.<option>Nov.<option>Dec.</select><select name="day"><option><option>1<option>2<option>3<option>4<option>5<option>6<option>7<option>8<option>9<option>10<option>11<option>12<option>13<option>14<option>15<option>16<option>17<option>18<option>19<option>20<option>21<option>22<option>23<option>24<option>25<option>26<option>27<option>28<option>29<option>30<option>31</select><select name="year"><option>2004<option>2005<option>2006</select></p>
<p>Bands: <input type="text" name="bands" /></p>
<p>Venue: <input type="text" name="venue" /></p>
<p>City: <input type="text" name="city" /></p>
<p>State: <select name="state"><option><option>Alabama<option>Alaska<option>Arizona<option>Arkansas<option>California<option>Colorodo<option>Connecticut<option>Delaware<option>Florida<option>Georgia<option>Hawaii<option>Idaho<option>Illinois<option>Indiana<option>Iowa<option>Kansas<option>Kentucky<option>Louisiana<option>Maine<option>Maryland<option>Massachusetts<option>Michigan<option>Minnesota<option>Mississippi<option>Missouri<option>Montana<option>Nebraska<option>Nevada<option>New Hampshire<option>New Jersey<option>New Mexico<option>New York<option>North Carolina<option>North Dakota<option>Ohio<option>Oklahoma<option>Oregon<option>Pennsylvania<option>Rhode Island<option>South Carolina<option>South Dakota<option>Tennessee<option>Texas<option>Utah<option>Vermont<option>Virginia<option>Washington<option>Washington, DC<option>West Virginia<option>Wisconsin<option>Wyoming</select></p>
<p>Age: <select name="age"><option><option>All Ages</option><option>18+</option><option>19+</option><option>21+</select></p>
<p>Time: <input type="text" name="time" /></p>
<p>Cost: <input type="text" name="cost" /></p>
<p><input type="submit" value="Add Show" /></p>
</form>
testaction.php
<html>
<h1><font color="black">Concert Calendar</font></h1>
<body bgcolor="tan">
<table border=1 width=100% cellpadding=6 cellspacing=0 bordercolor="black">
<tr align=center>
<th width=12% bgcolor="sky blue"><font size=+1><b>Date</b></th>
<th width=25% bgcolor="sky blue"><font size=+1><b>Bands</b></th>
<th width=17% bgcolor="sky blue"><font size=+1><b>Venue</b></th>
<th width=15% bgcolor="sky blue"><font size=+1><b>City</b></th>
<th width=8% bgcolor="sky blue"><font size=+1><b>State</b></th>
<th width=8% bgcolor="sky blue"><font size=+1><b>Age</b></th>
<th width=8% bgcolor="sky blue"><font size=+1><b>Time</b></th>
<th width=7% bgcolor="sky blue"><font size=+1><b>Cost</b></th></tr>
<tr align=center>
<td width=12% bgcolor="white">07/29/04</td>
<td width=25% bgcolor="white"><?php echo $POST['bands']; ?></td>
<td width=17% bgcolor="white"><?php echo $POST['venue']; ?></</td>
<td width=15% bgcolor="white"><?php echo $POST['city']; ?></</td>
<td width=8% bgcolor="white"><?php echo $POST['state']; ?></</td>
<td width=8% bgcolor="white"><?php echo $POST['age']; ?></</td>
<td width=8% bgcolor="white"><?php echo $POST['time']; ?></</td>
<td width=7% bgcolor="white"><?php echo $_POST['cost']; ?></</td></tr>
</table>
<tr><td><a href="testform.php">add a show</a></td></tr>
</body>
</html>
thanks,
rich