сам go.php
if (!empty($_GET['go'])) {
$base = mysql...("select * from table-go where name='".$_GET['go']."'");
if (($dat = mysql_fetch_array($base)) == true) {
...update table_go set perehod=perehod+1 where name='".$_GET['go']."'");
} else {
...insert into (id,name,perehod) values (null,'".$_GET['go']."',0)"); }
header ('Location: '.$_GET['go']);