I have a page where a user will be entering numbers into text boxes. The number of textboxes will vary, and I need to update a database with the values entered in these boxes.
So is there a way to determine how many values are being passed in the POST method?
something like:Something close to that... !?PHP Code:While($check==1)
{
$box=databox$i;
if($_POST[$box]!="")
{
/// run SQL query to update DB for that value
}
else
check=0;
$i++;
}




Reply With Quote