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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -