Ok I am been fighting this all night and not almost all day I need more help...
On my form I have checkboxes, where they chose what kind of pop they drink, alot of them such as :
<input type="checkbox" name="pop[]" value="Coke"> Coke<br>
<input type="checkbox" name="pop[]" value="7up"> 7up<br>
Now I imploded them into database with a space and looks like this in table:
*Coke*7up*
Now I know I need to explode it to show what has been checked...
such as :
$specs = explode("*", $pop);
But I have no clue on how to show on form the ones that are checked...
IF i go like $specs[1] and so on, that wouldnt work cause the order would be wrong if someone didnt check one of them, which they do not have too.
I need to show what boxes are checked based on what they checked before so they can update a form if need be.
If you can help me out asap that would be great..