Re: Re: PDO vs. mysqli

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

 



It does seem like a pretty standardly implemented extension, but, suppose different hosting providers might offer different database engine support.

Either way, both my primary dev environment, XAMPP, and my secondary test environment, uWamp have it included, and my online servers also have all the support I want implemented, so, will definitely be working with it for now.


Thanks for responses, guys


Jacob Kruger
Blind Biker
Skype: BlindZA
"Resistance is futile, but, acceptance is versatile..."

On 2016-09-05 12:51 AM, Christoph M. Becker wrote:
On 02.09.2016 at 15:09, Jacob Kruger wrote:

Up to now have just been working with mysqli, using prepared statements,
passing parameters, etc., but, was looking into PDO now, and seems to,
among other things offer a more dynamic form of parameter passing, etc.

Either way, was just wondering if there's are any specific reasons
should stick to just working with mysqli directly, or if should switch
over to making use of PDO more often/most of the time?
The main advantage of PDO over MySQLi appears to be that it's much
easier to support another RDBMS, if the need arises.

AFAIK, most servers should, nowadays handle/support PDO in any case - am
working with XAMPP here on my dev machine, which is windows 10 64 bit,
but anyway.
You're probably referring to shared hosting services.  I assume that
almost all support PDO, and most of them PDO_MYSQL (and supposedly, all
that offer MySQLi also support PDO_MYSQL).



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




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux