> I keep getting a Undefined variable on unused form elements > after they have > been posted. > > For instance i have a form > > Form Element Chem_id ( drop down) > Form Element freetxt ( text box) > how do you access the variables? something like $Chem_id = $HTTP_POST_VARS["Chem_id"]; or do you use $Chem_id right away? Are you running php in safe mode? Call phpinfo(); to find out, search for safe_mode under PHP Core. /Martin -- PHP Windows 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]