(06-15-2017, 02:33 PM)hafizfarooq Wrote: I am trying to connect with my CSS using link_tag() but system is not connecting... no errors .. nothing happens Code:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Articles List</title> <?= link_tag('assets/css/bootstrap.min.css') ?> </head> <body> <h1>Hellooooo</h1> </body> </html> in controller PHP Code:<?php class User extends MY_Controller { public function index() { $this->load->helper('html'); $this->load->view('public/articleslist'); } }?> please help... Farooq
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Articles List</title> <?= link_tag('assets/css/bootstrap.min.css') ?> </head> <body> <h1>Hellooooo</h1> </body> </html>
<?php class User extends MY_Controller { public function index() { $this->load->helper('html'); $this->load->view('public/articleslist'); } }?>