Then make it one echo.
Code:
<?php
if isset(($_GET[ref]))
{
$ref = $_GET["ref"];
echo '<meta http-equiv="refresh" content="0; url='.$ref.'" />';
echo '<script language="javascript">if (self.location.href != top.window.location.href) { top.window.location.href = self.location.href }</script><br><a href=".$ref.">'.$ref.'</a>';
}
else
{
alert("No link specified.");
history.go(-1);
}
?>
Bookmarks