Location: PHPKode > scripts > My Db > my-db/config.php
<?php
/********************************************************************/
//			 config.php(V0.01) : 
/********************************************************************/
/* in this version you can connect with mysql, mssql and interbase
 * data bases.
 */
//Interface with the data base, the host and the data base server
$DB[0]["server"] = "localhost";
$DB[0]["data_base"] = "revista";
$DB[0]["server_type"] = "mysql";
$DB[1]["server"] = "localhost";
$DB[1]["data_base"] = "data_base_name";
$DB[1]["server_type"] = "interbase";
//Interface with the users of the data base
define("user0",0);
define("user1",1);
define("user2",2);
define("user3",3);
define("user4",4);
$USER[user0]["name"] = "root";
$USER[user0]["password"] = "";
$USER[user1]["name"] = "";
$USER[user1]["password"] = "";
$USER[user2]["name"] = "";
$USER[user2]["password"] = "";
$USER[user3]["name"] = "";
$USER[user3]["password"] = "";
$USER[user4]["name"] = "";
$USER[user4]["password"] = "";
?>
Return current item: My Db