PHP Classes

File: config.php

Recommend this page to a friend!
  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: 12 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);

?>