Login   Register  
PHP Classes
elePHPant
Icontem

File: dbcon.inc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Losev-Pahotin Ruslan  >  YahooUI-Menu  >  dbcon.inc  >  Download  
File: dbcon.inc
Role: Configuration script
Content type: text/plain
Description: seting database
Class: YahooUI-Menu
Generate a menu from MySQL database data using YUI
Author: By
Last change:
Date: 6 years ago
Size: 230 bytes
 

Contents

Class file image Download
<?
$bd
="your bd";
$user="root";
$pass="";
$host="127.0.0.1";

 
$link mysql_connect($host$user$pass )
   or die (
"Could not connect to MySQL");
 
mysql_select_db ($bd)
   or die (
"Could not select database");
   
?>