PHP Classes

File: conn_mysql.php

Recommend this page to a friend!
  Packages of MarPlo   PDO_MySQLi class   conn_mysql.php   Download  
File: conn_mysql.php
Role: Configuration script
Content type: text/plain
Description: File with data for connecting to mysql, and include the class
Class: PDO_MySQLi class
Access MySQL using PDO or MySQLi extensions
Author: By
Last change:
Date: 13 years ago
Size: 255 bytes
 

 

Contents

Class file image Download
<?php
// data for connecting to mysql database
$mysql = array(
 'host' => 'localhost',
 'user' => 'user_name',
 'pass' => 'password',
 'bdname' => 'database_name'
);

include('class.pdo_mysqli.php');     // includes the file with PDO_MySQLi class