php - how Handler Exception CodeIgniter -
i need capture exception in codeigniter tried different solutions , don't work. want capture exception , print message.
this exception default page:
http://it.tinypic.com/r/sexf68/8
this code:
$this->load->database(); $c=300; $query = $this->db->query("insert ut (u, p, n,c) values ('$u', '$p', '$n','$c')"); if($query->db->_error_message()){ } if($$query->db->_error_number()){ echo" bau"; }
anyone can me?
Comments
Post a Comment