its pretty easy ...
so in the form u dynamically generate field name like field1, fileld2, field3 ..
in the page to which the form submits do this
<?php
while (list($name, $value) = each($HTTP_POST_VARS)) {
if (substr($name,0,5)== "field"){
if($value!=""){
$value = strip_tags(trim($value));
// insert query
}
}
}
}
?>
what you do is to check if the variables passed from the form starts with "field", if it does then you get the values for the variable.
just double check the (substr($name,0,5)== "field" line to see if it is right, try printing substr($name,0,5) to see if you get the number 1,2,3 from field1, field2, field3 ...
hope this helps
reg
kevin