Login   Register  
PHP Classes
elePHPant
Icontem

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of nirav  >  Database class for MySQL  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: MySQL database connection
Class: Database class for MySQL
Manipulate MySQL database table records
Author: By
Last change:
Date: 2012-06-23 10:01
Size: 258 bytes
 

Contents

Class file image Download
<?php
define
('DB_USER','root');
define('DB_PASS','ganesha');
define('DB_HOST','localhost');
define('DB_NAME','chat');

$DbRes mysql_connect(DB_HOST,DB_USER,DB_PASS) or die(mysql_error());
$TableRes =  mysql_select_db(DB_NAME) or die(mysql_error());




?>