I want to create a simple form processor. I have tried a few things, but its not working quite like I want it to. I want to name the fields with descriptive names. In ASP the fields can be referenced by either the name, or its index in the array.
The only way I was able to do this with PHP (so far) was naming all the fields in my form as an array variable (ex: frmFields[]), but even then, trying to count the number of fields resulted in it counting ALL the fields.
How can I count the number of fields that actually have something in them, but keeping the script somewhat universal (can change the form without changing the script)
Thanks!!