Dave M G wrote: > One is based on the assumption that mysqli is as likely not to be > available as it is to be installed. In this case I should write my > scripts to test whether it exists and then use either mysqli or > straight mysql commands as appropriate. If this is the way to go, what > do I do to test for the existence of mysqli from within a PHP script? In my opinion, that is overkill. If you need mysqli and a provider does not provide it, simply chose another provider. A lot less effort. > The other is to assume that recent installs and upgrades of PHP > 5 > should have mysqli because that's the currently preferred way of doing > things, and therefore I should contact the web host and ask that they > install it, or I find a different host. > > Which assumption should I be proceeding with? Find a provider/hoster that meets your requirements. You're the customer. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php