Re: DB_DataObject
| From: | Alan Knowles | Date: | Tue, 26 Oct 2004 01:10:23 +0000 |
| Subject: | Re: DB_DataObject | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15109@lists.php.net to get a copy of this message | ||
Edvan Cunha wrote:
The insert/update should write ISO formated times. - I'd be supprised if the database doesnt expect that? - when you turn debugging on what sort of sql are you getting. Regards AlanThank's Alan, I found a way to format the data from the Database. I have created a toPost() method in my DataObject that find the DB_DATAOBJECT_DATE fields and apply the correct format. But now I'm in trouble with the data insertion. How can I specify the format of data on insert or update? Isn't it a new item for the todo list? I'm sorry for my poor english.