In This Page
How Can I Make The Page Title
Get Its Name From (( Title )) In Database Ads
("SELECT * FROM ads where id='$id'");
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<title>:: ZERO XXX ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="http://www.e-alriyadh.com/favicon.ico" rel="icon" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="Style.Css" />
</head>
<body>
<div id="Aziz">
<div id="wrap">
<?php include "header.html" ?>
<?php
include('func.php');
$id = intval($_GET["id"]);
$Sql2 = mysql_query("select * from ads where id='$id'");
$Row2 = @mysql_fetch_array($Sql2);
if (!$Row2)
{
Echo "<meta http-equiv='Refresh' content='0;URL=Error.php'>";
exit;
}
$headers = headers("tabs.html");
$headers = str_replace("{menu}",menu(),$headers);
echo $headers;
?>
<div class="condetails">
<?php
$result = mysql_query("SELECT * FROM ads where id='$id'");
while($row = mysql_fetch_array($result))
{
echo "<center>";
echo "<div class='fulldetails'>";
echo "<div class='detailsid'>" . "<font color ='#4077b0'>ID</font> : " . $row['id'] . "</div>";
echo "<div class='detaildate'>" . $row['date'] . "</div>";
echo "<div class='detailtitle'>" . $row['title'] . "</div>";
echo "<div class='detailsad'>" . $row['details'] . "</div>";
echo "</div>";
echo "</center>";
echo "<br/>";
}
?>
</div>
</div>
</div>
</body>
</html>