OK, it used to work but doesn't now. What changed?
You do have some problems in your code. For instance, you are not
saving the object returned by the connect() method. You can find an
example at
http://pear.php.net/manual/en/package.database.db.intro-query.php for
the proper way to do a query. Also, the fact you had warnings earlier
should have been a red flag. They are there for a reason.
However, beware that the PEAR DB package has been replaced by the PEAR
MDB2 package. The former is no longer being maintained and should not
be used.
Rather, I recommend you use a the PHP PDO class. It will require some
rewriting of your code, but you're going to have to do that anyway.
BTW - it's almost never a good idea to modify the code in packages. It
always leads to more work in the long run as you have to maintain the
modified code as well as your own.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================