When I select checkbox, say Arrays and hit submit, I want a new address in the address window like this onePHP Code:
// check for submit
if (!isset($_POST['submit'])) {
// and display form
?>
Please sect one
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
<input type="checkbox" name="example[]" value="Arrays">Arrays<br />
<input type="checkbox" name="example[]" value="Loops">Loops<br />
<input type="checkbox" name="example[]" value="Sort">Sort<br />
<input type="checkbox" name="example[]" value="Submit">Submit<br />
<input type="checkbox" name="example[]" value="New">New<br />
<input type="checkbox" name="example[]" value="New">New<br /><br /><br />
<input type="submit" name="submit" value="Select">
</form>
//localhost/Examples/arrays.php. This will then display the Arrays.php script on my local server.
Is this possible?
Thanks
Jim