Lb <[EMAIL PROTECTED]> wrote: > 1) I thought that PHP automatically created variables for all form elements > on a page. When I run this, the dropdown box contains the first item, but > $Report evaluates as null. I am unclear why. > > <select name="Report"><BR> > <option value=>1 Test Report A</option> > <option value=>2 Test Report B</option> > <option value=>3 Test Report C</option> > </select> > <? echo ("the value is $Report"); ?> you have set the value for each option to an empty string. you probably mean either '<option value="1">Test Report A</option>' or '<option>1 Test Report A</option>'. > 2) Is there any way for PHP to detect the change even on the dropdown, or do > I need to use javascript? you have to use javascript. jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]