> -------- Original Message --------
> Subject: [PHP] re:  undefined variable
> From: "Smart Software" <[EMAIL PROTECTED]>
> Date: Sun, April 30, 2006 1:50 pm
> To: php-general@lists.php.net
> 
>   //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

Reply via email to