> It could be a solution but only working with a few items. My list(s)
> will be filled up with hundreds of items grabbed automatically out of
> another MySQL table... would it help too? Maybe naming the check
> boxes with each item own ID... anyone?
What you could do is this:
$query = "SELECT field_name FROM table"
$result = mysql( $dbname, $query );
while( $dataRow = mysql_fetch_assoc( $result )) {
echo '<input type="checkbox"
name=checkboxes[]
value="' . $dataRow['field_name'] . '">';
}
On submission, all your checboxes will be here:
$_POST['checkboxes']
and you can iterate through that to see what fields/checkboxes
were set. No fuss, no muss and no billion if( isset( $checkbox )).
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php