Re: what does this mean in plain english?
| From: | Stuart Dallas | Date: | Fri, 17 May 2002 17:31:36 +0000 |
| Subject: | Re: what does this mean in plain english? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98139@lists.php.net to get a copy of this message | ||
On 17 May 2002 at 12:23, Jeff Field wrote:
> $theValue = ($theValue != "") ? "'" . $theValue .
> "'" : "NULL";
It's a shortened version of the if...else construct. As in...
condition ? this_if_true : this_if_false
--
Stuart