How can i viewed a static page with CI4 ? |
I'm calling the file called booking.php with Codeigniter 4, but I'm getting an error. Although I add the following lines to Home Controller, the page does not appear, where am I going wrong?
public function booking() { $this->load->view('Partials/home/head'); $this->load->view('Home/booking'); $this->load->view('Partials/home/foot'); } I'm calling the booking.php file, but it gives an error. as sitename.com/booking public function index() { echoview('Partials/home/head'); echoview('Home/index'); echoview('Partials/home/foot'); } but I can call index.php as above. Again, I can't call a different /urly like /booking /contact etc |
Welcome Guest, Not a member yet? Register Sign In |