PHP Classes

File: inc.config.php

Recommend this page to a friend!
  Classes of JImmy Bo   Bobo PHP DB Class   inc.config.php   Download  
File: inc.config.php
Role: Configuration script
Content type: text/plain
Description: example config include file
Class: Bobo PHP DB Class
Simple MySQL database class
Author: By
Last change: fixed
Date: 15 years ago
Size: 322 bytes


Class file image Download
# example db config include
     // include the class:
// set the variables:
$db_host = "localhost";
$db_user = "myusername";
$db_pass = "mypassword";
$db_name = "mydatabasename";
// make a db object:
$db = new mydb($db_host, $db_user, $db_pass, $db_name);