This commit is contained in:
CHIEFSOFT\ameye
2025-12-21 07:58:18 -05:00
parent ab2898cb82
commit 85cc995f9d
+12 -12
View File
@@ -91,18 +91,18 @@ class Home extends BaseController
// } // }
// featured // featured
try { // try {
$mysql = "SELECT id, post_title, post_content,post_date,comment_count // $mysql = "SELECT id, post_title, post_content,post_date,comment_count
FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263"; // FROM wp_posts WHERE post_type='post' AND post_status = 'publish' AND id = 263";
$query = $this->db->query($mysql); // $query = $this->db->query($mysql);
//
$rowF = $query->getResultArray(); // $rowF = $query->getResultArray();
// print_r( $rowF ); // // print_r( $rowF );
// $r = $this->db->query($mysql); // // $r = $this->db->query($mysql);
$data["blog_featured"] = $rowF[0]; // $data["blog_featured"] = $rowF[0];
} catch (Exception $ex) { // } catch (Exception $ex) {
//
} // }
$siteData = []; $siteData = [];
$out = $this->APIcall('GET', 'https://blogdata.chiefsoft.net/blogdata/chiefsoft', []); // https://blogdata.chiefsoft.net/ $out = $this->APIcall('GET', 'https://blogdata.chiefsoft.net/blogdata/chiefsoft', []); // https://blogdata.chiefsoft.net/