Drupal Association members fund grants that make connections all over the world.
My basic question is, when working with an ODBC data source, how can I return an object from the db_fetch_object function that can be used by Drupal?
I am trying to create an ODBC interface for Drupal and I am getting stuck when it comes to fetching data. Specifically, I do not know how to replicate the object the needs to be returned from the db_fetch_object function. The object returned from the odbc_fetch_object command is not equivalent to the object returned from the mysql_fetch_object or the pg_fetch_object commands. So when I try to use this command, I get a memory error.
If anyone has come across this issue before, any help would be greatly appreciated.