For loop error problem
Method:
for($i =0;$i<count('$std_id);$i++)
{
for($j=0;$jcount('$sub_id;$j++)
{
mysql_query("INSERT INTO mmst_tbl(std_id,sub_id,mark)VALUES('$std_id[$i]','$sub_id[$j]','$mark[$j]')");
}
}
How to solve this? instead of 138 rows it goes 2000+ lines