Okay, in PHP
I have a big array of items stored in a file. It is serialized
The user selects what items they want to use and this creates another array, which is serialised and stored to a seperate file.
when the user returns to the selection area I take the data from both files and unserialise it, and use in_array to mark the users selections.
The first time I go into the selection area each day the selections aren’t autofilled, but if I select them I can go away and come back as many times as I like and the selections I have chosen are autofilled, can anyone think of a reason for this.
Check the types of your selections using var_dump and choices. If they are not the same use false as a third parameter. It should be automatic but I have had issues before where I explicitly needed to use false.