Hi all,
Let me start by saying im barley a php developer.
I am developing a a php app where users pick an order of 10 items before the order of items is determined.
I have tables built user_picks, and race_results.
user_pick has columns for the 1st - 10th and points columns for each set to zero (1st |1stp, 2nd|2ndp ) when a user picks 1-10 is entered into the 1st 2nd 3rd "" "" columns points remaining at zero until the results of the race
race_results has the columns 1st-10th results.
once the results are in how would i check to see if the user_picks match the race_results table and award point to the points column in the user_pick table
array_udiff_assoc() ??
sorry if this does not make sense!
any ideas would be greatly appreciated.