<?php
//non-output producing script, it ends in a direct to a page
//there could be many of this type of scripts, but here we have only one
include 'oktop.inc.php' ;
if ($_POST['ok']) {
//ok button was clicked, do something with the user input
$_SESSION['results'] .= $_POST['myinput'].'<br>' ; //just for testing...
}
else {
//cancel was clicked, do something or nothing
//$_SESSION['results'] = '' ; //just for testing: clear the results
}
//common bottom of all okscripts (we have just one here)
include 'okbottom.inc.php' ;
?>
|