in reply to Re^2: without looping, check if $var is found in @list
in thread without looping, check if $var is found in @list
When my DB query prints out it's always in a specific order. If the option in @choices doesn't match the very first row retrieved from my database, everything fails. However, if the first row DOES match something in @choices all the other ones that match the critera work and the ones that don't are discarded as I expect.
It's just that the first row is being strange, if it doesn't match @choices nothing will.
|
---|