deadman6
09-15-2011, 12:45 AM
When i do this
<?php if($_POST[reset]) {
unset($_SESSION[counter]);
unset($_SESSION[display]); } ?>
with a submit button with the name reset...
when i do it this way it resets the counter on the first click then display on the second... is there a way to do it with one click?
<?php if($_POST[reset]) {
unset($_SESSION[counter]);
unset($_SESSION[display]); } ?>
with a submit button with the name reset...
when i do it this way it resets the counter on the first click then display on the second... is there a way to do it with one click?