I’m fairly new to php and still am trying to grasp the concept of an array. What I’m trying to do is create several mysql query’s that will insert data based on user input from a form.
In this case I am letting them select multiple states:
Once they submit this information it will save their id as well as the states they have selected. However, I can’t get it to work right. The state value remains empty once it is inserted into the database.
I’ve looked high and low for a solution to this, but can’t seem to piece it together. Is there anyone that can help me?