03-13-2013, 11:48 AM
[eluser]Unknown[/eluser]
I'm writing a blog, everything is working fine on xampp localhost, but when i implemented it on the server, the following code isn't working
and
and
but in the other hand, the following is working:
can anyone help me to solve this?
I'm writing a blog, everything is working fine on xampp localhost, but when i implemented it on the server, the following code isn't working
Code:
$this-db->where('id', $id);
$this->db->get('blogs');
and
Code:
$this->db->insert('blogs, $data);
return $this->db->insert_id();
and
Code:
$this->db->insert('images', $data);
but in the other hand, the following is working:
Code:
$this->db->get('blogs')
can anyone help me to solve this?