www.webdeveloper.com
Results 1 to 2 of 2

Thread: Will the myslqi extension become the new standard?

  1. #1
    Join Date
    Jan 2013
    Posts
    84

    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
    Location
    Ankh-Morpork
    Posts
    19,388
    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 09:27 AM.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

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



Recent Articles