Re: ->insert not working with DB_DataObject

From: Date: Mon, 26 Apr 2004 19:25:17 +0000
Subject: Re: ->insert not working with DB_DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12140@lists.php.net to get a copy of this message
David Cannings wrote: > I've had to downgrade from the latest DB_DataObject to version 1.4 as the > latest one requires PHP4.2 and the server I've just uploaded a site to > only > has 4.1. Note that the dependencies for the latest version are listed as > PHP4.1 but the code uses is_a(), this is slightly misleading. As an update to what I wrote earlier, the function is_a() can be implemented in previous versions of PHP (prior to 4.2) using the function available on http://php.net/is_a. This lets me use later versions of DB_DataObject. Also, the reason my code didn't work is because I renamed the database and forgot to rename the .ini file. David

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