i have a basketball db and I need to bring up to date the stats of the players.
i have two fields in my form and in my player's table: points and fouls, so i need to pass the player's id (Player_Id) along with the fields before mentioned.
i have this:
$result=mysql_query("SELECT * FROM player WHERE Player_team LIKE '$team");
while($row = mysql_fetch_array($result))
{
printf("<tr>
<td> %s </td>
<td><input name=' ** ' type='text' id='Points'></td>
<td><input name=' ** ' type='text' id='Fouls'></td>
</tr><br>",$row["Player_Name"]);
}
** I dont know what to put in these parts.
Well, the problem is how can i send all these data to the script, and how the script will know from who are those data.