How to Change Database?
<?php
# Including MySQLm [See https://github.com/AtjonTV/MySQLm/wiki/1.-Getting-Started or https://atjontv.github.io/MySQLm/starting.html]
include 'https://raw.githubusercontent.com/AtjonTV/MySQLm/dev-1.5/src/MySQLm.php';
# Creating MySQLm Object with direct connect [ See https://github.com/AtjonTV/MySQLm/wiki/2-Connecting or https://atjontv.github.io/MySQLm/db-connecting.html]
$msql = new MySQLm("database-server.com", 3306, "myusername", "userspassword", "databasename", "charset");
// MySQLm is connected to "database", but what if we want to connect to "shop_database"?
# We do this:
$msql->executeUse("shop_database");
# MySQLm::executeUse(); executes a SQL Querry, it automaticly wants to use a USE command,
# so you need to give it a database name.
// OR
$msql->changeDatabase("shop_database");
# MySQLm::changeDatabase(); executes a SQL Querry, it automaticly wants to use a USE command,
# so you need to give it a database name.
## It is the exact the same thing as executeUse!
$msql->dispose("acc", "x");
?>