<form action=1.php method=POST> .... <input type=submit> </form> .... <a href="12345.html">Ссылка</a>