Globalize vs. Checkbox arrays
I'm working on a script where the user can select from multiple checkboxes (and by multiple - I mean multiple: eventually well over 100 items, though I may find a way to limit to pages of 20. I digress).
On the net I've noticed that you can get checkboxes to array together by doing name="product[]" Well, that's fine for unsecured PHP with register globals turned on, but it doesn't seem to want to work in PHP, ESPECIALLY once you shoot it through the globalize function.
What I need is fairly simple. Each checkbox has an associated numerical value. I need to get those values into a string seperated by commas for insertion into the database so that I can later use the explode function to seperate and call them back.
The question is, how?
|