Thanks very much for responding.
Just wanted to ask quick question:
How do I define the associative array, $teamforplayer?
example, how do I include the players ID?
With 500players in database, I presume there's a simple solution to retrieving their ID!? (Im not too good with arrays!) 🙁
Also when you say $chosen comes from user input and contains playerId....how!? Do I declare this in the registration form?
example code for registration form:
<SELECT
style="WIDTH: 250px" onchange="updateTotalCost ()"
size=1 name=player1 width="250"><OPTION value=0 selected>- Select Goalkeeper -</OPTION><OPTION
value=102> D Seaman (Ars) 4.0m</OPTION> <OPTION...etc
this carries on for all 11 players!
Do I just define $chosen the once and just recall it for every player....or am I wrong!?
also, finally.....do I attach the if(team_count) under all 11 options?
i.e. under player1, then also player2...etc!!
thanx again