Hey Experts,
Please Help me.. i am facing this error:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\wamp\www\tf\process.php on line 22
for($b=1;$b<$_POST['studentcount'];$b++)
{
$c='sname' . $b;
$ql="INSERT INTO stud (name) VALUES ('$_POST['sname1'])"; /*line 22*/
mysql_query($ql);
}
Please do checkwhats wrong with this,
Regards,
Vigas Deep