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

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