Jump to content

How long do I have to update my code to mysqli


pioneerx01

Recommended Posts

Realistically it will probably be a number of years still before you have a hard time finding a host with support for it. That doesn't mean you should take your sweet time to update the code though. There are several reasons why you should be upgrading as soon as possible besides the threat of the functions being removed.

Link to comment
Share on other sites

You have more than enough time to update your code. The PHP core developers are well aware that there are tons of legacy applications and many people who haven't even heard the “news”.

 

However, you should not switch to MySQLi. It's very inconvenient and, of course, again limits you to MySQL databases. Use PDO instead. It's a well-designed universal database interface which can be used for all mainstream database systems, not just MySQL.

Edited by Jacques1
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.