added multi-select checkbox fields to sample.php; added comment explaining how error() function works