PHP Classes

File: constants.php

Recommend this page to a friend!
  Classes of Sujay Bhowmick   Pagination   constants.php   Download  
File: constants.php
Role: Configuration script
Content type: text/plain
Description: Supporting include file
Class: Pagination
Result Set pagination with database abstraction
Author: By
Last change:
Date: 20 years ago
Size: 648 bytes
 

Contents

Class file image Download
<?php
// MySQL Database Constants
define(MYSQL_SERVER_NAME, "your_mysql_host_name");
define(MYSQL_DB_USERID, "your_mysql_userid");
define(MYSQL_DB_PASSWORD, "your_mysql_password");
define(MYSQL_DATABASE_NAME, "your_mysql_databasename");

// MSSql Database Constants
define(MSSQL_SERVER_NAME, "your_mssql_host_name");
define(MSSQL_DB_USERID, "your_mssql_userid");
define(MSSQL_DB_PASSWORD, "your_mssql_password");
define(MSSQL_DATABASE_NAME, "your_mssql_databasename");


// DATABASE_NAME = MYSQL_DATABASE_NAME if MySQL database
// DATABASE_NAME = MSSQL_DATABASE_NAME if MSSQL database
define(DATABASE_NAME, MYSQL_DATABASE_NAME);
?>