in reply to Checkboxes
Last Update: You used two different values in your HTML and perl code, I used the consider1 variable as example. If this is the wrong variable, just replace it with delivery1.
Your problem is that you defined consider1 as a scalar. I.e. a variable that can hold just one value.
But, because you have more than one value in your html file, you need an to store the data into an array:
@consider1 = param('consider1'); ... ... for (@consider1) { print " $_\n"; }
Always remember: one value = scalar($), list of values = array(@), named values = hash(%).
/oliver/
Update: Changed consider one to <code>consider1</code>. Also changed misread variable name from deliver1 to consider1. ... /me needs to go to bad now...
|
|---|