Re: DataObject tweak ok with DB and MDB2

From: Date: Wed, 06 Apr 2005 03:14:26 +0000
Subject: Re: DataObject tweak ok with DB and MDB2
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18532@lists.php.net to get a copy of this message
Ok i just worked out that insert is not returning the autoinc id because query is not returning affectedRows due to the fact that its missing from MDB2 , any ideas where it is now ? On 06/04/2005, at 11:18 AM, Justin Patrin wrote:
On Apr 5, 2005 6:05 PM, pear@electroteque.org <pear@electroteque.org> wrote:
affectedrows hasnt changed ? return $DB->affectedRows();
Not sure what you mean here. MDB2 also has affectedRows so I removed your check for the method.
also limit isnt being added to my query :|
It's possible that I changed your code wrong. Check out yours and see if you can find any problems with mine.
On Apr 5, 2005 5:32 PM, pear@electroteque.org <pear@electroteque.org> wrote:
On Apr 5, 2005 5:04 PM, pear@electroteque.org <pear@electroteque.org> wrote:
your phps file is returning as html.
Well, that's because by default phps files do syntax highlighting. Just copy/paste the code from your browser. If it's up...I can't seem access it right now. I can also put up a txt file once I get access again. -- Justin Patrin
yeh i'm on mac, safari craps out when i copy and paste code, it adds wierd line characters orsomething.
Are you copy/pasting into TextEdit? AFAIK it does Rich Text editing, so it may be doing RichText pasting... Anyway, I finally got in. Here you go: http://formbuilder.reversefold.com/DataObject.DB-MDB2.php.txt -- Justin Patrin
-- Justin Patrin


« previous php.pear.general (#18532) next »