<?
session_start
();

if (
$message) {
   
$times += 1;
   
$message = "You have pushed me " . $times . " times.";
} else {
   
session_register("message");
   
session_register("times");
   
$times = 0;
   
$message = "Welcome to the ptb game.";
}

?>

<form>
<?=$message?> <p>
Please <input type="submit" value="Submit"> to call me again.
</form>