Php syntax problem
<pre><code>&lt;input type="radio" name="ques1" value="op4"&gt;Jingles&lt;br&gt;
</code></pre>

<p>just a part of the code.....
when i am checking this...
iam doing this as </p>

<pre><code>$selected=$_POST['ques1'];
</code></pre>

<p>now when i am doing this with for loop....</p>

<pre><code>for($i=0;$i&lt;...;$i++)
$selected=$_POST['ques'.{$i+1}];
</code></pre>

<p>NEW SYSNTAX ADDED...............................</p>

<pre><code>$sql='UPDATE Reg_Stud SET Result=$perc WHERE RegID="$_SESSION['id']"';
</code></pre>

<p>//Whats wrong with this one???</p>

<p>....//whts the correct syntax??</p>
