
<?php
include "../conn.php";

$mediaID = $_GET["id"];

$query = "select mediaName, mediaDescrip, mediaURL from media_media where mediaID='$mediaID'";

$result = mysql_query($query) or die (mysql_error());

if ($row = mysql_fetch_array($result))
{
	$mediaName = $row[0];
	$mediaDescrip = $row[1];
	$mediaURL = $row[2];
}
?>
<html>
<head>
<title>Press Detail</title>
</head>

<body>
<?php include "../news/popuptop.php"; ?>
<center>
  <table width=80% border=1>
    <tr><td>Name: <?php echo $mediaName; ?></td></tr>
    <tr><td>Description</td></tr>
    <tr><td><?php echo $mediaDescrip; ?></td></tr>
    <tr><td><img src="<?php echo $mediaURL; ?>"></td></tr>
  </table>
</center>
</body>
</html>