Using nested ternary operators
<p>I've been trying to use <code>isset()</code> in nested form like below:</p>

<pre><code>isset($_POST['selectedTemplate'])?$_POST['selectedTemplate']:isset($_GET['selectedTemplate'])?$_GET['selectedTemplate']:0
</code></pre>

<p>But seems I'm missing something. Can anyone assist me how to do it?</p>
