Hello
i have 1 problem
i have n number of input textfields named
frmTF1
frmTF2
frmTF3
.........
frmTFn
how can i use for loop here to process data
for ($i = 0; $i < $frmCount; $i++){
if($frmTF$i !=""){ //<----need to do smthn here
$query = "INSERT INTO Marks(Mark) VALUES ('$frmTF$i')";
$result = mysql_db_query ("$dbase", $query);
if ($result){
echo "Success!";
}
else{
echo mysql_errno().": ".mysql_error()."<BR>";
}
}
this doesn't work