Alright, I'm a newbie to CF but I have experience in PHP, Perl, blah blah blah. Just learning a new language for the heck of it. So here's my question:
I imagine in CF that when you submit information from a form to a script that the information is passed to the script in an array (ie, the values are stored in an array, and the array is being passed in to the script).
Well, I have a form that dynamically generates a list of students. What I want to do be able to do is click on a checkbox next to a students name to delete that student. However, I want to be able to do this with multiple students at the same time. And finally, here's the big problem: how do I know how many students were checked? If the values are being passed in an array I could just get the lenght of the array and dynamically generate my SQL command by looping through the array.
Is there a way for me to reference this array, or does it even exist, or am I WAY out in left field here?
Any help would be appreciated.
Thanks y'all.... glad I found this site... lot'o'stuff here.
I imagine in CF that when you submit information from a form to a script that the information is passed to the script in an array (ie, the values are stored in an array, and the array is being passed in to the script).
Well, I have a form that dynamically generates a list of students. What I want to do be able to do is click on a checkbox next to a students name to delete that student. However, I want to be able to do this with multiple students at the same time. And finally, here's the big problem: how do I know how many students were checked? If the values are being passed in an array I could just get the lenght of the array and dynamically generate my SQL command by looping through the array.
Is there a way for me to reference this array, or does it even exist, or am I WAY out in left field here?
Any help would be appreciated.
Thanks y'all.... glad I found this site... lot'o'stuff here.