mysqli vs. mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
dashifen
Forum Commoner
Posts: 35
Joined: Thu Feb 05, 2004 9:53 pm
Location: Champaign - Urbana, IL

mysqli vs. mysql

Post by dashifen »

What are the enhancements to the new PHP mysqli_ functions as opposed to the old mysql_ functions?
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Most notable, the object ooriented interface. MySQLi also boasts to suppost MySQL 4.1 features that extMySQL does not support. All in all, MySQLi (as it seems) is just extMySQL built for a new version of PHP and MySQL. If you're starting a new project, and planning to use php 5.0 and MySQL 4.1+, I suggest MySQLi as opposed to extMySQL.
Post Reply