My localhost sql is too big.
Now I want to add another remote mysql.
Can Anyone set remote mysql in following local mysql connection?
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
#Localhost mysql: Make it only read
$hostname_saha = "localhost";
$database_saha = "bdwebstk_1a";
$username_saha = "bdwebstk_1a";
$password_saha = "111111111111";
#remote mysql : Plesae make it read and write
$hostname_saha = "xx.yy.zz.zz";
$database_saha = "horjecom_aw";
$username_saha = "horjecom_aw";
$password_saha = "000000000000000000";
$saha = mysqli_connect($hostname_saha, $username_saha, $password_saha, $database_saha) or trigger_error(mysqli_error($saha),E_USER_ERROR);
mysqli_set_charset( $saha, 'utf8');
?>