Php sözdizimi sorun

0 Cevap
<input type="radio" name="ques1" value="op4">Jingles<br>

just a part of the code..... when i am checking this... iam doing this as

$selected=$_POST['ques1'];

Şimdi ben döngü için bu yapıyorum zaman ....

for($i=0;$i<...;$i++)
$selected=$_POST['ques'.{$i+1}];

YENİ EKLENEN SYSNTAX ...............................

$sql='UPDATE Reg_Stud SET Result=$perc WHERE RegID="$_SESSION['id']"';

Bu bir / / Yanlış nedir??

.... / / Doğru sözdizimi whts?

0 Cevap