note 2386 deleted from Comparison Operators by ronabop
| From: | ronabop@php.net | Date: | Fri, 06 Oct 2000 14:27:49 +0000 |
| Subject: | note 2386 deleted from Comparison Operators by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6164@lists.php.net to get a copy of this message | ||
I'm not sure why the following does not work properly
<pre>
$bgColor = ((($j % 2) == 1) ? $this->m_dataBackground1 : $this->dataBackground2);
$fgColor = ((($j % 2) == 1) ? $this->m_dataForground1 : $this->dataForground2);
</pre>
It does work OK if the member variables are replaced with constant strings.