Re: dealing with this code $_POST ['custom´]
| From: | Govinda | Date: | Fri, 16 Dec 2011 22:59:30 +0000 |
| Subject: | Re: dealing with this code $_POST ['custom´] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316046@lists.php.net to get a copy of this message | ||
> "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