I have a code which will add stuff to my database!! my table has three fields...
the problem is my page before this may be 1 row to enter but it may have 6 menus for people to add info!!
<?php
$result = mysql_query ("INSERT INTO results_comp_run_teams (`comp_run_teams_id`,`comp_run_id`,`team_id`) Values ('','$comp_run_id,'$team_id)") or die("INSERT error: ".mysql_error());
?>
how do i run a loop on a code like this??