<form action='' method="POST">
<input type="text" name="name" />
<button style="height: 25px; width: 70px;" name="klick" value="нажать" type="submit" ></button>
</form>
<?PHP
if ($_POST['klick']){
echo 'нажал '. $_POST['name'];
}
?>
<form action='' method="POST">
<input type="text" name="name" />
<button style="height: 25px; width: 70px;" name="klick" value="нажать" type="submit" ></button>
</form>
<?PHP
if ($_POST['klick']){
echo 'нажал '. $_POST['name'];
}
?>