CodeIgniter Forums

Full Version: HTTP ERROR WHILE USING $this->db->insert('sites', $data);
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=60]I'm getting HTTP ERROR while using $this->db->insert('sites', $data); this code
but select comments is working fine but update,insert queries causes the errors like HTTP ERROR and redirect to no server found page . please help me thank in advance !
(01-02-2015, 05:43 AM)Thamaraiselvam Wrote: [ -> ]I'm getting HTTP ERROR while using $this->db->insert('sites', $data); this code
but select comments is working fine but update,insert queries causes the errors like HTTP ERROR and redirect to no server found page . please help me thank in advance !

possibly a syntax error?  Hard to tell because you've posted no code.  You are probably missing a semi colon or something.
First thing to do: look at CI's log file in application/logs/ and Apache's error log file.
Without a more detail code example its not possible to help you. Please post your example to help you by debugging.