Welcome Guest, Not a member yet? Register   Sign In
how to use IS NULL?
#3

Not related to the answer but this code

PHP Code:
if ($this->db->trans_status() === TRUE)
 
   {
 
     return true;
 
   }
 
   else
    
{
 
     return false;
 
   

Can be expressed with a lot less typing Rolleyes

PHP Code:
return $this->db->trans_status(); 
Reply


Messages In This Thread
how to use IS NULL? - by falcon812311 - 04-08-2017, 09:37 PM
RE: how to use IS NULL? - by janudewangga - 04-09-2017, 01:14 AM
RE: how to use IS NULL? - by dave friend - 04-09-2017, 11:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB