Re: Mysqli support - test or complain?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard, Per, Andres,

Thank you for responding.

If it were entirely my web site to dictate what to do with, I would just switch for a server that has mysqli available to me.

However, in this one case, the web site is owned by a small, not very profitable group that has reasons to stay with their current webhosting service. I want to support them if possible.

Richard said:
> Alter your program to support both - use mysqi if it's avilable,
mysql if it's not.

How exactly do I test for the presence of mysqli from within a script?

Or are you saying I have two different versions of my script?

--
Dave M G

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux