RE: re: undefined variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -------- 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux