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

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -