What does it do? I am trying to populate checkboxes stored in database as serialized. I need to put a checkbox next to each player that is in the serializing.
People come and put their values. Later if they want to edit, the stored values should be at their places.
here
Thanks God this is soccer so since I don't know how to extract that $i value from the array, I ended up doing the below 15 times, hoping that there won't be more than 15 goals in a game
PHP Code:
if ($predplayer1==$player1[0] OR $predplayer1==$player1[1] OR $predplayer1==$player1[2] OR $predplayer1==$player1[3] OR $predplayer1==$player1[4] OR $predplayer1==$player1[5] OR $predplayer1==$player1[6])