Changes between Version 6 and Version 7 of support-team/mysql-mysqli-conversion


Ignore:
Timestamp:
Apr 16, 2014, 11:49:22 PM (6 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • support-team/mysql-mysqli-conversion

    v6 v7  
    7474}}}
    7575=== mysql_select_db ===
     76{{{
     77mysql_select_db ( string $database_name [, resource $link_identifier = NULL ] )
     78}}}
     79==== mysqli_select_db ====
     80We will need to change the construct of this function in '''every''' case as it flips the resource identifier and database placement in the parameters.
     81{{{
     82mysqli_select_db ( mysqli $link , string $dbname )
     83}}}
     84
     85There are a number of places where we reference the resource identifier in mysql_select_db, and other places where we simply use the database name.  In the former case, we need to swap the placement of database string and resource, and in the latter case, we need to add the resource identifier ($link).
    7686
    7787== These functions occur in 22 different files ==