> -------- Original Message -------- > Subject: re: undefined variable > From: "Smart Software" <info@xxxxxxxxxxxxxxxxxx> > Date: Sun, April 30, 2006 1:50 pm > To: php-general@xxxxxxxxxxxxx > > //get content of textbox > $q = isset($_REQUEST['$textbox']) ? $_REQUEST['$textbox'] : 0; You should use $_REQUEST[$textbox] or $_REQUEST["$textbox"]. Variables are not converted within a single-quoted string. HTH, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php