Login   Register  
PHP Classes
elePHPant
Icontem

File: include/connection.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valics Lehel  >  PHP or Java Class Code Generator  >  include/connection.php  >  Download  
File: include/connection.php
Role: Example script
Content type: text/plain
Description: Connection for examples
Class: PHP or Java Class Code Generator
Generate PHP or Java database access classes
Author: By
Last change:
Date: 5 years ago
Size: 174 bytes
 

Contents

Class file image Download
<?php
$cid 
mysql_connect(DB_HOST,DB_USR,DB_PWD) or die ("I cannot open a connection to database. ");
mysql_select_db(DB_NAME) or die("I cannot select the database!");
?>