Re: [PHP] dealing with this code $_POST['custom´]

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

 



> "syntax error" I'm not an advanced user of PHP, but I really don't get why
> adding just another id (of a contact list) would be a "syntax error" if I
> only use 148:147 it works fine!

Hi Carlos, 

it is called "ternary operator".

Search for "ternary operator" in this page:

http://www.php.net/manual/en/language.operators.comparison.php

-Govinda

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