Hi,
Basically instead of entering individual players into a form and clicking submit to enter them into a fixture I want to have a large form containing upwards of 40 select boxes containing the player names and entering these with their position eg.
Home Team
FULLBACK <select name='fullback_hometeam'>
<option value='positionid_playerid'>Player Name
* 30 odd options containing playerrs
</select>
WINGER <select name='rightwinger_hometeam'>
<option value='5_343'>Player Name
* 30 odd of same players
</select>
etc,etc for home and away team.
I already have the code for this to display fine but am really after a guide, or do's and don'ts, for the best way to submit this information, process it and then insert it into a database.
At the moment I intend to have the position id and the playerid as a underscore seperated submitted parameter and then explode that to get out the seperate values. That seems unneccesarily complicated so am stopping to ask advise.
Thanks in advance for any advise.
Cheers