"<?= site_url('user/profile') ?>"
not working on codeigniter 2.1.3
the problem its with
site_url not working on the server
<a href="<?= site_url('user/profile') ?>"><img src="<?php echo base_url()." alt="profile"></a>
if i do it like this it works
<a href="<?php echo site_url('user/profile') ?>"><img src="<?php echo base_url()."alt="profile"></a>
on the localhost it works and in another server
maybe the server should have something installed on the php