Fix data
This commit is contained in:
+12
-12
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user