php ternary operator formatting
<p>This works:</p>

<pre><code>&lt;input type="text" name="foo" value="&lt;?php echo isset($_POST['foo']) ? $_POST['foo'] : '' ?&gt;"/&gt;
</code></pre>

<p>This does not:</p>

<pre><code>echo('&lt;input type="text" name="foo" value="'.isset($_POST['foo']) ? $_POST['foo'] : ''.'"/&gt;');
</code></pre>

<p>Notice: Undefined index: foo in /srv/www/form.php on line 15</p>

<p>Thanks for any help.</p>
