Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,673
    Thanks
    28
    Thanked 4 Times in 4 Posts

    Do I NEED to move over to MySQLi ?

    Since all the MySQL functions are now depreciated.

    The Manual states:
    "This extension is deprecated as of PHP 5.5.0, and is not recommended for writing new code as it will be removed in the future."

    So does that mean I NEED to change all my scripts to use MySQLi ?

    It seems that most of the examples in the Manual for MySQLi
    are OOP rather than procedural style.


    And therefore - should I learn how to program OOP ?


    Your comments and experience invited


    .
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,978
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Eventually you will need to move. Deprecated indicates they plan in the future to remove it.
    Object oriented is not required. The entire mysqli is both procedural and OO, and each page should have an example usage of both procedural and OO usage. Personally I'd say that the OO code is easier to work with.
    That doesn't mean you shouldn't learn OOP, rather you don't need to learn it to use mysqli.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

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