Welcome Guest, Not a member yet? Register   Sign In
HTTP ERROR WHILE USING $this->db->insert('sites', $data);
#1

[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 !
Thanks and Regards,
Thamaraiselvam T
Reply
#2

(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.
Reply
#3

First thing to do: look at CI's log file in application/logs/ and Apache's error log file.
Reply
#4

Without a more detail code example its not possible to help you. Please post your example to help you by debugging.

Reply




Theme © iAndrew 2016 - Forum software by © MyBB