FAQ
   manual.pipni.com > Databases  |  Search  |  Problems?

How shall I connect to MySQL from PHP?
Here is a successful connection sample code:
$db = mysql_connect('mysql', 'database.domain.tld', 'password');
mysql_select_db('database_domain_tld', $db);
  // SQL, ...
mysql_close($db);

Total count of tips: 141
Created by PIPNI
Powered by Firebird