PHP shorthand IF with two variables in the first part
<p>How can I write this IF condition (at the moment I have error, but I don't know where)?</p>

<pre><code>$gll_name = ($gll_id != NULL ? $w = $this-&gt;gallery_model-&gt;gallery_get_one_user($gll_id);  $w-&gt;name : " ");
</code></pre>
