[Solved] use mysqli_connect and mysql_select_db [duplicate]


Please, don’t mix mysqli and mysql as they are different modules.

In your second code block you are using mysql_select_db and mysql_error, the first one requires mysql connection, not mysqli connection.

1

solved use mysqli_connect and mysql_select_db [duplicate]