Jump to content

MySQLi

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sir Link (talk | contribs) at 07:06, 15 February 2009 (Created this requested article.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The MySQLi Extension (MySQL Improved) is a relational database driver used in the PHP programming language to provide an interface with MySQL databases. MySQLi is an improved version of the older PHP MySQL driver, offering various benefits[1]. The developers of the PHP programming language recommend using MySQLi when dealing with MySQL server versions 4.1.3 or later[1].

Technical details

The MySQLi extension provides various benefits with respect to its predecessor, the most prominent of which are (according to [1]):

  • An object-oriented interface
  • Support for prepared statements
  • Support for multiple statements
  • Support for transactions
  • Enhanced debugging support
  • Embedded server support

References

Further reading

MySQLi documentation on PHP.net