hey there,
i have a form that i need to pass a number of variables to a php scritp. But the number of variables depends on the custmor logged in. For each machine he is monitoring, he needs to be able to select that or many fields from a list of check boxes.
like :
<form action='process.php' method=POST>
<?php
$machines = array('one', 'two', 'three' , 'etc');
foreach ($machines as $machine)
{
print a check box with the $machine as the value
}
?>
then a submit button
now, how do i know in the process.php script how many machine names were passed ? and how do i get them all ?
thanks