0
How To Add A Mandatory Check Box To Your Site
By How To Videos on Jul 22, 2010 in Website Tips & Tricks
In this video you will learn how to add a check box to your website that must be checked before the visitor can take the next action step.
HERE IS THE CODE MENTIONED IN VIDEO:
Checkbox code
Put this t the very top of the page
—————————
$check = $_POST['checkbox1'];
if ($check == 1) {
header('location:http://www.yoururl.com/pageyouwanttodisplay.htm');
}
?>
————————————-
Put this in the body of the page where you want the checkbox to appear
————————————————
