How does CI introduce common headers and tails that contain dynamic data?

take a look at the manual
assuming that both the header page and the footer page have data read from the database (not purely static), how to write it here?
is it impossible to check every time you load?
is it possible to change to the bottom?

    $this->load->view("header");
    $this->load->view("home", $data);
    $this->load->view("footer");
Mar.15,2021

your question concerns the template parsing class of CodeIgniter. You can see the example
ide/libraries/parser.html" rel=" nofollow noreferrer "> https://codeigniter.org.cn/us.
through the link below, but the related notes are also explained

.
CodeIgniter doesn't force you to use this class, because it might be faster to use pure PHP directly in the view. Still, some developers like to use template engines, and they may be working with other designers who are not familiar with PHP.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a3eb-2c1dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a3eb-2c1dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?