Fix data
This commit is contained in:
+12
-12
@@ -91,18 +91,18 @@ class Home extends BaseController
|
||||
// }
|
||||
|
||||
// featured
|
||||
try {
|
||||
$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";
|
||||
$query = $this->db->query($mysql);
|
||||
|
||||
$rowF = $query->getResultArray();
|
||||
// print_r( $rowF );
|
||||
// $r = $this->db->query($mysql);
|
||||
$data["blog_featured"] = $rowF[0];
|
||||
} catch (Exception $ex) {
|
||||
|
||||
}
|
||||
// try {
|
||||
// $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";
|
||||
// $query = $this->db->query($mysql);
|
||||
//
|
||||
// $rowF = $query->getResultArray();
|
||||
// // print_r( $rowF );
|
||||
// // $r = $this->db->query($mysql);
|
||||
// $data["blog_featured"] = $rowF[0];
|
||||
// } catch (Exception $ex) {
|
||||
//
|
||||
// }
|
||||
|
||||
$siteData = [];
|
||||
$out = $this->APIcall('GET', 'https://blogdata.chiefsoft.net/blogdata/chiefsoft', []); // https://blogdata.chiefsoft.net/
|
||||
|
||||
Reference in New Issue
Block a user