Code: Select all
<?php if($_POST[reset]) {
unset($_SESSION[counter]);
unset($_SESSION[display]); } ?>
with a submit button with the name reset...
Moderator: General Moderators
Code: Select all
<?php if($_POST[reset]) {
unset($_SESSION[counter]);
unset($_SESSION[display]); } ?>
with a submit button with the name reset...
Code: Select all
<?php
if($_POST[reset]) {
unset($_SESSION[counter]);
unset($_SESSION[display]);
?>
<script type='text/javascript'>
window.location = 'link to the page to refresh';
</script>
<?php
} ?>