Hi >>> Nope. Method db_vendor() extracts the vendor's name from the >>> connect string passed to DBI, so I don't see how it could return >>> that :-))). >> And anyway, I control the config file this data comes from, so spaces >> won't appear there... >OK, so your "/(?:mysql|Pg)/" should have been more like >"/:(?:mysql|pg):/i".
Nope, wrong again. You are evading the implications of the above explanation of the method, which I repeat below: "Method db_vendor() extracts the vendor's name from the connect string" I did not say it extracts the colons, and I did not say it returns the connect string with the embedded colons, and I did not say ... etc. Permit me to politely suggest it's time for you to stop fabricating irrelevant code. -- Cheers Ron Savage, [EMAIL PROTECTED] on 21/04/2006 http://savage.net.au/index.html Let the record show: Microsoft is not an Australian company