On 20/12/06, Stephen Collins trib@acidlabs.org wrote:
On 20/12/2006, at 4:48 AM, Brion Vibber wrote:
I pretty much just showed you.
Okay, I'll pay that. I was tired, and didn't feel like thinking...
However, now I change the code to reflect the new function and apparently, addQuotes is undefined...
Fatal error: Call to undefined function addQuotes() in /home/3698/ domains/wikitest/html/smsp1/extensions/rss.php on line 226
You seem to be calling addQuotes() as if it were global. You need to call it as a member function of the database class, which it is.
You'll see either $dbw or $dbr defined around the problematic code block; this is a database object. Use (alter as appropriate):
$dbr->addQuotes( blah blah );
Rob Church