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 omid zarifi  >  Day Tips Show  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: config db
Class: Day Tips Show
Retrieve the tip of the day from a MySQL database
Author: By
Last change:
Date: 3 years ago
Size: 182 bytes
 

Contents

Class file image Download
<?php
$host
="localhost";
$user="root";
$pass="123";
$dbname="tipss";
$con=mysql_connect($host,$user,$pass);
if (!
$con){
die (
"Error");
}
mysql_select_db($dbname,$con);

?>