Results 1 to 2 of 2

Thread: Will the myslqi extension become the new standard?

  1. #1
    Join Date
    Jan 2013

    Question Will the myslqi extension become the new standard?

    According to what i had read, mysqli is an alternative to the standard mysql but it is an optional choice..

    however i noted that some methods are deprecated in normal mysql, such this:http://php.net/manual/en/function.mysql-fetch-array.php...
    So, this means that mysqli will totally replace mysql?

  2. #2
    Join Date
    Aug 2004
    In PHP, the old mysql extension has been officially deprecated in favor of either the MySQLi or PDO extensions (the latter presumably making use of the MySQLi API) for quite some time now. You should definitely be making the shift, which then also lets you make the shift to the use of prepared statements, as well as fully object-oriented database-related application code.

    PS: Saying MySQLi is an alternative is sort of like saying IE 10 is an alternative for IE 7 or IE 8 -- MySQLi has more features and is more robust, so there's no good reason to stick with the old MySQL except possibly for backward compatibility on hopelessly behind-the-times servers.
    Last edited by NogDog; 05-07-2013 at 10:27 AM.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center