RE: [PHP] how to check function's execution?

2009-09-08 Thread Bob McConnell
From: A.a.k > > 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 > exec

Re: [PHP] how to check function's execution?

2009-09-07 Thread Bobby Pejman
: A.a.k Subject: [PHP] how to check function's execution? Sent: Sep 7, 2009 2:52 PM 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!'

[PHP] how to check function's execution?

2009-09-07 Thread A.a.k
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 successfu