</head>
<b>Ting:</b>
<hr>
<?
include ("mysql/mysql.php");

$id = $_GET[id];
$query = mysql_query("SELECT * FROM ting_avis WHERE id='$id'") or die(mysql_error());
while ($vis = mysql_fetch_array($query)) {
?>
<table border="0" cellspacing="1" width="100%">
  <tr>
    <p><b>Navn:</b><br>
<? print $vis[name]; ?><br></td>
  </tr>
  <tr>
    <b>Planteværdi:</b><br>
<? echo("Denne genstand er $vis[value] &nbsp; værd."); ?><br></td>
  </tr>
  <tr>
    <b>Info:</b><br>
<? print $vis[text]; ?><br></td>
  </tr>
  <tr>
    <b>Billede:</b><br>
<img border="0" src="<?  print $vis[image]; ?>"><table border="0" cellspacing="1" width="100%">
  <tr>
    <td>

    </td>
  </tr>
  <tr><hr>
    <a href="#" onclick="history.back()">Tilbage</a></td>
  </tr>
</table>
<table border="0" cellspacing="1" width="100%">
  <tr>
    <td>

    </td>
  </tr>
</table>
    </td>
  </tr>
</table>
<?
}
?>
</p>
</body>
</html>
<link rel="stylesheet" HREF="style.css" type="text/css">
