title: How to fix my PHP inline if using ternary operator?
body: <p>I saw an example in the PHP Manual:</p>
  <pre><code>&lt;?php
  $var = TRUE;
  echo $var==TRUE ? 'TRUE' : 'FALSE'; // get TRUE
  echo $var==FALSE ? 'TRUE' : 'FALSE'; // get FALSE
  ?&gt;
  </code></pre>
  <p>and I am trying to integrate something similar as part of a single line output. My line looks like this:</p>
  <pre><code>echo &quot;...text...&quot; . $db_field['late']==0 ? ' ' : $db_field['late']  . &quot;...more text...&quot;;
  </code></pre>
  <p>Logically what I want to do is: if 'late' = 0 then display nothing else display the content of 'late'.</p>
  <p>Am I just trying to be too clever?</p>