Re: Mysqli support - test or complain?

From: Date: Mon, 10 Dec 2007 12:58:41 +0000
Subject: Re: Mysqli support - test or complain?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-265602@lists.php.net to get a copy of this message
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

« previous php.general (#265602) next »