how to check function's execution?

From: Date: Mon, 07 Sep 2009 21:52:56 +0000
Subject: how to check function's execution?
Groups: php.general 
Request: Send a blank email to php-general+get-297775@lists.php.net to get a copy of this message
hello I have a problem to check whether a function successfully inject to database or not, here is the code : if($object->dbupdate())
      echo 'done';
    else
       echo 'damn!';
inside the 'if' statement $obj->dbupdate() doesn't execute , how can I execute and check if it was a successful inject within this function? is it even possible or should I check within class or something? 


« previous php.general (#297775) next »