Hi guys i want to ask you about connect mysql database from different hosting servers using php. and here my php code
<code>
<?php
$db_host = 'myurl.com:3306'; << Usually is Localhost.
$username = 'mycpanel usernam';
$password = 'smycpanel pass';
$db_usr = 'my database users';
$db_pwd = 'db pass';
$db_db = 'database name';
$con = mysqli_connect($db_host,$db_usr,$db_pwd,$db_db);
if (mysqli_connect_errno())
die("Unable to connect to Mysql Server");
function...
Error While Connect MySQL DAtabase
from Databases http://ift.tt/1T5emvH
via IFTTT
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon