Re: [PHP] To mysqli or not to mysqli
On 4/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Looks like mysqli is the new method of talking to mysql? Should I be moving away from the legacy mysql_* functions? I'm running php5 and mysql 4.1.11 on IIS5 and Apache 2. Finding clients who even run 4.0.x is rare for me, most still use 3.23 I find. I'm hosting my personal stuff with a company that has 4.1.x installed but it's with PHP 4 so I still use the regular mysql functions. On thing I've been doing to prepare for the switch is stuff like this: $extensions = get_loaded_extensions(); if( in_array( 'mysqli', $extensions ) ) { } elseif( in_array( 'mysql', $extensions ) ) { } -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] To mysqli or not to mysqli
Looks like mysqli is the new method of talking to mysql? Should I be moving away from the legacy mysql_* functions? I'm running php5 and mysql 4.1.11 on IIS5 and Apache 2. Why not use PDO :) Jared -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] To mysqli or not to mysqli
On 4/20/05, Jared Williams [EMAIL PROTECTED] wrote: Why not use PDO :) Pacific Decadal Oscillation? I'm stumped. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] To mysqli or not to mysqli
On 4/20/05, Jared Williams [EMAIL PROTECTED] wrote: Why not use PDO :) Pacific Decadal Oscillation? I'm stumped. PHP Data Objects http://www.php.net/pdo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] To mysqli or not to mysqli
On 4/20/05, Jared Williams [EMAIL PROTECTED] wrote: PHP Data Objects http://www.php.net/pdo Sweet.. DBI for PHP. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php