Forum Moderators: coopster
if (isset($_POST['checkbox']))
{
// apply action because 'checkbox' has been ticked
}
The point ironik brings up pretty much nails it down. You served up the form in the first place, so you already know what options are in the checkbox. If it is just static HTML in a page, you could always change that by building the checkbox from an array of values or database options. When checking the POSTed data, just compare to the same array of values again.