You can use the MYSQL connection string for PHP as shown below. Please be sure to replace the database username (dbuser), password, and database name (dbname). The hostname should be localhost. Please note: iPowerWeb Technical Support does not provide assistance with web scripting.
$username = "dbuser";
$password = "password";
$hostname = "localhost";
$dbh = mysql_connect($hostname, $username, $password) or die("Unable to connect to MySQL");
mysql_select_db ("dbname");
- 1 Корисниците го најдоа ова како корисно