Re: undefined variable

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

 



On Feb 20, 2014, at 7:25 AM, Tim Streater <tim@xxxxxxxxxxxxxxxx> wrote:

> I'm doing something like this:
> 
>  $PTR_fcc = isset($_POST['PTR_fcc'])==true ? $_POST['PTR_fcc'] : 0;

Try:

$PTR_fcc = isset($_POST['PTR_fcc']) ? $_POST['PTR_fcc'] : 0;

Cheers,

tedd
_______________
tedd sperling
tedd@xxxxxxxxxxxx


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