Ok, thank you very much! I read about this functions.. but how can I used?
In my db class, i have somethig like this:
function affected_rows($res_id) {
$fname = $this->pg_affected_rows;
return @$fname($this->res[$res_id]);
}
OR
function affected_rows($res_id="default") {
return $this->con[$this->default_type]->affected_rows($res_id);
}
for define the affected_rows() function. Starting from this template, how can I define the pg_result_status() function and how can I use this?
Thanks!