Location: PHPKode > scripts > PHP Classified script made easy > php-classified-script-made-easy/Files/inc/title.php
<?PHP
include("header.php");
            $id = $_GET['id'];
if(isset($id)) {
        $queryt1  = "SELECT * FROM classifieds WHERE adid = '".$id."' AND authorized = '1'";
        $resultt1 = mysql_query($queryt1);
while($rowt1 = mysql_fetch_array($resultt1, MYSQL_ASSOC))
{
echo $rowt1['title']." - ";
}
}
        $queryt2  = "SELECT * FROM settings WHERE id = '1'";
        $resultt2 = mysql_query($queryt2);
while($rowt2 = mysql_fetch_array($resultt2, MYSQL_ASSOC))
{
echo $rowt2['sitename'];
}

?>
Return current item: PHP Classified script made easy