session_start(); require_once("includes/connection.php"); db_connect(); $SQL="select * from tbl_category where category_id='1'"; $res=mysql_query($SQL); $numrows=mysql_num_rows($res); if($numrows>0){ while($obj=mysql_fetch_object($res)) { $strCatID=$obj->category_id; $strDescription=$obj->description; $strImage=$obj->image; } } $SQLh="select * from header_alt_tag where header_id='1' "; $resh=mysql_query($SQLh); $numrowsh=mysql_num_rows($resh); if($numrowsh>0){ while($objh=mysql_fetch_object($resh)) { $home=$objh->home; $aboutus=$objh->aboutus; $news=$objh->news; $enquiry=$objh->enquiry; $contact=$objh->contactus; $sitemap=$objh->sitemap; } } $seo="select * from tbl_category where category_id='1'"; $seorec=mysql_query($seo); $seono=mysql_num_rows($seorec); if($seono>0){ while($seoobj=mysql_fetch_object($seorec)) { $linkcatid=$seoobj->category_id; $linkseo=$seoobj->seocategory; } } $SQLt="select * from tbl_meta_tags where auto_id='1' "; $rest=mysql_query($SQLt); $numrowst=mysql_num_rows($rest); if($numrowst>0){ while($objt=mysql_fetch_object($rest)) { $sitemap_title_tag=$objt->sitemap_title_tag; $sitemap_meta_tag=$objt->sitemap_meta_tag; $sitemap_meta_description=$objt->sitemap_meta_description; } } ?>