E cosi ?
codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<style type="text/css">
@import url('css.css');
</style>
<script type="text/javascript">
function invia(valore) {
document.ilForm.gallery.value=valore;
document.ilForm.submit();
}
</script>
</head>
<body>
<table>
<tr><?
if (isset($_GET['gallery'])) {
$gallery=$_GET['gallery'];
} else {
$gallery="";
}
if($gallery==='BeatPark050805'){ ?>
<td id="contenutoTD2TR1TD2" align="center" valign="middle">
<a href="#" onclick=javascript:invia("BeatPark050805") target="_self">
d f g h a s d f g h j d f g h </p>
</a>
<form name="ilForm" action="montaggiophotogallery.php" method="get">
<input type="hidden" name="gallery" value="<? print $gallery ?>" >
</form>
</td>
</tr>
</table><?
}
?>
</body>
</html>