Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 13, 2005, 2:48 pm
rate this thread
I am trying DB_DataObjects. I am new with PEAR. My database is
PostgreSQL, and I am using PHP4.
I have a text field where I store the following data in XML format
Then, I use DataObjects to read the table.
$customer = DB_DataObject::factory('public_customer');
$customer->id = $id_customer;
Then, when I do
I just got: www.miempresa.com 12345678
How can I do for retrieving the original data? It seems to me that PEAR
is altering the text for better display or security purpose.
Looking at the code of DB_DataObject I think that it use
fetchRow(FETCHMODE_ASSOC) for bring the data, but not complety sure
Thank you for your help