Re: problem with autoExecute - update only

From: Date: Wed, 22 Jan 2003 20:42:20 +0000
Subject: Re: problem with autoExecute - update only
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3411@lists.php.net to get a copy of this message
> I can't seem to get the autoExecute function to work when I try to > update a record in a MySQL database. I instantiated the object > $db['mydb'] in another file, and have included it in my script (in case > it's not clear from the code below, this object is being called in line > 4). Here's a sample script I made - bare bones for what I'm trying to do: This is a stupid bug fixed in CVS. line 528 : $sql .= " WHERE $where"; and not $sql .= " WHERE $sql"; No ? Fab

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