Below given title not appear in web page title. It shows default value.
Code:
public function index()
{
$data['page_title'] = "Welcome to codigniter";
...................
...................
}
just pass the $data variable when loading the view, and then echo $page_title between <title></title> in your view.
<title><?php echo $page_title; ?></title>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With