> I have a problem to check whether a function successfully inject to
> or not, here is the code :
> echo 'done';
> 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?
> even possible or should I check within class or something?
I normally would have dbupdate() do something like:
$temp_set = pg_query($conn, $Sql);
$numRows = pg_affected_rows($temp_set);
There should be something similar available in the other database APIs.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php