$id='100003';
require("db.php");
$sql_project="select strName, strURL, content, SEOTitle, SEOKeywords, SEODescription, MotherID from tblmaincategory where intID='$id'";
$results_project=mysql_query($sql_project) or die("err:querys");
if($results_project)
while($r1=mysql_fetch_array($results_project)){
$CTitle=$r1["strName"];
$CstrURL=$r1["strURL"];
$Ccontent=$r1["content"];
$SEOTitle=$r1["SEOTitle"];
$SEOKeywords=$r1["SEOKeywords"];
$SEODescription=$r1["SEODescription"];
$MotherID=$r1["MotherID"];
}
mysql_close($conn);
include "websetting.php";
if (!$CTitle) {$CTitle=$WSEOTitle;}
if (!$SEOTitle) {$SEOTitle=$WSEOTitle;}
if (!$SEOKeywords) {$SEOKeywords=$WSEOKeywords;}
if (!$SEODescription) {$SEODescription=$WSEODescription;}
?>
-
include "top.php"; ?>
if($Ccontent){
echo $Ccontent;
}else{
echo "Kinda note that we are currently updating this section. Please come visit again for more updates. Thank you.";
}
?>