What is the correct syntax for the code
<pre><code>&lt;input type="radio" name="rdbtnques1"&gt;

&lt;input type="radio" name="rdbtnques2"&gt;
</code></pre>

<p>//php code</p>

<pre><code>for($i=0;$i&lt;count($_POST['txt']);$i++)
{
echo $chk =  $_POST['rdbtnques.$i'];
}
</code></pre>

<p>I want to know the correct syntax for the above code</p>
