get_data_where(array("id"=>"1")); $heading_content = $heading_content[0]['content']; $main_data = $content->get_data_where(array("id"=>"2")); $main_data = $main_data[0]; //echo "
";print_r($main_content);exit;
$home_content_id    = $main_data['id'];
$main_content       = $main_data['content'];

$rituals_data         = $content->get_data_where(array("id"=>"5"));
$rituals_data           = $rituals_data[0];
$need_data         = $content->get_data_where(array("id"=>"6"));
$need_data          = $need_data[0];

$rituals_heading    = $rituals_data['heading'];
$rituals_content    = $rituals_data['content'];
$rituals_img        = "assets/uploads/side_img/".$rituals_data['side_image'];

$need_heading       = $need_data['heading'];
$need_content       = $need_data['content'];
$need_img           = "assets/uploads/side_img/".$need_data['side_image'];

$title      = "Home | Trivalley Travels";
$heading    = "Welcome to Tri Valley Travels!";
$header_img = "assets/uploads/header_img/".$main_data['header_image'];
$side_img   = "assets/uploads/side_img/".$main_data['side_image'];

include("views/header.php");
include("views/index.php");
include("views/footer.php");
?>