PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Martin   Just another SQL Wrapper   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Config file to the example script
Class: Just another SQL Wrapper
MySQL database access wrapper
Author: By
Last change:
Date: 17 years ago
Size: 300 bytes
 

Contents

Class file image Download
<?php
define
('DB_SERVER','SERVER');
define('DB_DATABASE','DATABASE');
define('DB_USER','USER');
define('DB_PASSWORD','PASSWORD');
define('DB_TYPE','MYSQL'); // Could be in future fx. MSSQL or PGSQL
define('DB_PREFIX',''); // Prefix is if the tables have a prefix in front of the tablenames
?>