Welcome Guest, Not a member yet? Register   Sign In
Constraint Error
#3

(This post was last modified: 08-19-2015, 06:17 AM by calcio.)

Hi @Wouter60 these commands don't work here using oracle.

I tried it to forces it handler an error.


PHP Code:
$this->db->where('ID_CONTRATO'$idContrato);
 
       //$query = $this->db->delete($this->tabela);
 
       if (!$this->db->delete($this->tabela)) {
 
           echo $this->db->_error_message();
 
           echo $this->db->_error_number();
 
       }

 
       exit

Even using try ... catch don't work too.


PHP Code:
try {
 
           $query $this->db->delete($this->tabela);
 
       } catch (Exception $e) {
 
           var_dump($e);
 
       
PHP is Life!!! See My Portfolio
Reply


Messages In This Thread
Constraint Error - by calcio - 08-18-2015, 06:54 AM
RE: Constraint Error - by Wouter60 - 08-18-2015, 01:16 PM
RE: Constraint Error - by calcio - 08-19-2015, 06:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB