Is it possible to use in-line if statements within defining a string?
<p>I'm trying to build a string of HTML as follows:</p>

<pre><code>$html= "&lt;input name='".GROUP_CONFIG_MAX_CALL_RECORDING_TIME_INPUT."' value='".$MaxCallRecordingTimeSecs."' size='4' ".($bCallRecordingLicensed)?'':'disabled'."&gt;";
</code></pre>

<p>But it just gives me a parse error (no specific detail, just that this line is the problem).</p>

<p>I've tried various positioning of quotations and brackets but I'm always getting the parse error. Is this possible the way I'm trying?</p>
