Mam np. zmienną i chcę zrobić, aby był przycisk załóżmy że "DODAJ" i jak zrobić, aby ten przycisk dodawał do zmiennej jeden

Jak widać po moim pytaniu jestem "zielony", ale bardzo proszę o odp.
Z góry dziękuje...
<?php $zmienna++; echo "<form action=skrypt.php method=post> <input type=submit value=Dodaj> </form>"; // to nie jest konieczne ale mozesz zrobić ?>
<? $_SESSION['test'] += 1; $_SESSION['test'] -= 1; ?><form action="" method="post"> <input type="submit" name="dodaj" value="Dodaj 1" /> <input type="submit" name="odejmij" value="Odejmij 1" /> </form>
<html> <head> <title>otwieranie google.com po wcisnieciu przycisku</title>
</head> <body> <form action="" method="get"> <input type="submit" name="gugle" value="Google" /> </form> <?php $g = $_GET['gugle']; if($g == 'Google') { header("Location: <a href=\"http://www.google.com");\" target=\"_blank\">http://www.google.com");</a> } else { exit; } ?> </body> </html>
<?php f($g == 'Google') ?>
<?php if($g == 'gugle') ?>