Re: DataObject 0.10 & 0.11 bug?? - MEANT 0.11 & 0.12
| From: | Jeroen Houben | Date: | Wed, 22 Jan 2003 15:39:41 +0000 |
| Subject: | Re: DataObject 0.10 & 0.11 bug?? - MEANT 0.11 & 0.12 | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-dev+get-12661@lists.php.net to get a copy of this message | ||
Wrong subject I meant 0.11 & 0.12!
> I have a simple script that insert data into a table using DataObjects:
>
> $task = new DataObjects_Staff_tasks;
> $task->setFrom($_POST);
> $task->inserted = 'now()';
> $task->insert();
>
> It doesn't work anymore using 0.12. Same happens with another similar script.
> I first went back to 0.11 - same problem.
> I then went back to 0.10 and all works fine.
>
> I don't know how I can get to the actual mysql error so I can't work out what
> the problem is. I can see the query though and when I cut and paste that into
> a mysql console it inserts the row just fine..
>
> Jeroen
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php