Can anyone tell me why this doesn't work: $db_object = pg_fetch_object($this->getLastResult());
In imaginary interactive mode, it works like this: ME > echo $this->getLastResult(); PHP> Resource id #67 ME > echo $this->mr_lastResult; PHP> Resource id #67 ME > echo pg_fetch_object($this->getLastResult()); PHP> ME > echo pg_fetch_object($this->mr_lastResult); PHP> Any ideas? Nik -- http://travelog.uberblog.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php