<?php echo base_url code in codeigniter code example Example: codeigniter base_url $this->load->helper('url');