For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > Re: [PEAR] Db_dataobject insert()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Db_dataobject insert()
mishal@centrum.cz

2005-01-27, 8:57 pm



JP> I'm not sure what the issue is, then. Please check the mailing list
JP> archives as I know others have had this problem.

I found that this problem have had users before.
In this:

http://marc.theaimsgroup.com/?l=pea...54613417769&w=2

thread is said that db_dataobject insert method returns true, false or
0.

I tried to downgrade my db_dataobject installation to version 1.4
and now it *WORKS*.

$do->insert() now returns last_insert_id.

i found that in newer versions of DO insert() returns true.

[color=darkred]

JP> --
JP> Justin Patrin




--
Best regards,
mishal mailto:mishal@centrum.cz
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com