I have this previous post where I need to change my HTML form to accept an array. [This post](https://stackoverflow.com/questions/8109074/form-submit-not-working) has the full details of the code.

So I changed all forms accordingly, such as:

```
<select name="camera_type[]">

```

But now I'm stuck on how to run the update query. Now that I store everything in an array I obviously can't use my query as is. Here is a post that seems to be exactly what I need, but I'm not sure I understand: [Update MySQL table with an Array using Foreach](https://stackoverflow.com/questions/4818712/update-mysql-table-with-an-array-using-foreach)

Any further help on this is appreciated.