To switch from mysql to mysqli do I have to change the database?

Asked

Viewed 42 times

0

If I have mysql database and in my php documents update to mysqli the database will continue the same?

  • I don’t see why anything should change.

  • No need to change banks.!

  • Just change the php functions. Important: Note that the order of the parameters of mysql_connect is different from mysqli_connect. (It is the reverse)

  • 1

    I get it, the bank stays the same what changes is only the language

  • You keep calling by php. What changes is the time to connect to the database. When to call the query.

  • Although only adding "i" to most functions, some do not exist and others, as António Alexandre indicated, have a different order of parameters. In addition to mysqli_connect, mysqli_real_escape_string changed the parameters.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.