<form action=test.php> <input type=submit name="doGo" value="Click!"></form><? if(@$doGo) echo "You have clicked the button!";?>