[PHP] multiple select box

2003-09-04 Thread Steve Goodman
Hey all, I'm curious if anyone else has ever come across this problem: I have a multiple select box named 'chosen'. When it is submitted, only the last option selected appears under $_POST['chosen'], when I print_r($_POST). Any ideas? Thanks in advance, Steve -- PHP General Mailing List

[PHP] evaluating dynamic variable

2003-09-02 Thread Steve Goodman
Hi, I'm having trouble evaluating a dynamic variable. I want to check if the variable $_POST[resolutions$i] is an empty string, as you'll see from the code. However, every way I've tried to check the variable so far (including empty() and eval()) always returns a null value, even when the variable