W config.phpJak uzyskać adres URL w bazie CodeIgniter 2. *
$config['base_url'] = 'http://localhost/codeigniter/';
W widoku
<link rel="stylesheet" href="<?php base_url(); ?>css/default.css" type="text/css" />
=> Error: Call to undefined function base_url();
Pomóż mi
zapomniałeś echo href = " Php echo base_url();?> Wypróbuj to dla ciebie. – pratik