Variable name dilemma
My problem is that I am trying to create a checkbox name something along the lines of 'whatever[]'. The reason it looks like an array is because the script is working with form elements (the checkboxes) that I need PHP to put into an array after submitting the form.
Because I have the two brackets ([]) in the checkbox name, my javascript doesn't want to work anymore.
( Code:Collapse )I'm pretty sure theres nothing thats going to make it will work because of the form element arrays in the javascript conflicting with the brackets in the var name, but if anyone has any tips or suggestions I'd greatly appreciate it.