The Php code is in include statement in the form page which is layed out via css etc etc.
The code I have is
Expand|Select|Wrap|Line Numbers
- $submit = $_POST['submit'];
- $agree = $_POST['agree'];
- if (isset ($_POST['agree'])) {
- echo "<h3>You agree to our terms</h3>";
- header('Refresh: 10; URL=searcher.php');
- } else echo "<h3>You Disagree, you must agree before using our database</h3>";
Expand|Select|Wrap|Line Numbers
- $submit = $_POST['submit'];
- $agree = $_POST['agree'];
- if (isset ($_POST['agree'])) {
- echo "<h3>You agree to our terms</h3>";
- header('Location: searcher.php');
- } else echo "<h3>You Disagree, you must agree before using our database</h3>";
Can anyone tell me where I am going wrong?
Be grateful for some help as I am getting nowhere fast with this.
Thanks in advance.