I have a string in database that says: Doll, House, Yard
Now I have a form with checkboxes Doll, House, Yard, Playground.
How can I have those checkboxes checked in the form using the information from database?
I have another table in the database to hold all the values Doll, House, Yard, Playground so I could load them dynamically.
I use a foreach value to get all 4 checkboxes and now I want to use the other table's string to get the checkboxes checked in the form.
How can i do this? Thank you for taking the time!
Now I have a form with checkboxes Doll, House, Yard, Playground.
How can I have those checkboxes checked in the form using the information from database?
I have another table in the database to hold all the values Doll, House, Yard, Playground so I could load them dynamically.
I use a foreach value to get all 4 checkboxes and now I want to use the other table's string to get the checkboxes checked in the form.
How can i do this? Thank you for taking the time!