| 76 | {{{ |
| 77 | mysql_select_db ( string $database_name [, resource $link_identifier = NULL ] ) |
| 78 | }}} |
| 79 | ==== mysqli_select_db ==== |
| 80 | We 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 | {{{ |
| 82 | mysqli_select_db ( mysqli $link , string $dbname ) |
| 83 | }}} |
| 84 | |
| 85 | There 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). |