codeiginiter website on real server
Please tell me hoe to make my codeiginiter website live as it is very well running on local host
if (!$this->cart->contents()) { $this->data['err_message'] = 'Your cart is empty!'; } $this->load->view('templates/header', $this->data); $this->load->view('bookings', $this->data); $this->load->view('templates/footer');
div id="infoMessage"><?php echo $err_message;?></div>
if (!$this->cart->contents()) { $this->session->set_flashdata('err_message', 'Your cart is empty!'); } redirect('/bookings');
<div id="infoMessage"><?php echo $this->session->flashdata('err_message');?></div>
Hi,
Are you serious? You are not talking about error message but the way to pass a message you've created to the view. With this kind of title I was expecting to find out how to display real error message in order to debugg a developping issue. Please change your title, the content has not really the same meaning.