Login   Register  
PHP Classes
elePHPant
Icontem

File: MySQL_Definitions.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Aziz S. Hussain  >  mysql_* functions using PDO  >  MySQL_Definitions.php  >  Download  
File: MySQL_Definitions.php
Role: Auxiliary script
Content type: text/plain
Description: MYSQL Constants Definitions
Class: mysql_* functions using PDO
Access MySQL databases using PDO wrapper functions
Author: By
Last change: Release V1.1 - Bug Fixes
Date: 5 months ago
Size: 1,200 bytes
 

Contents

Class file image Download
<?php
/**
 * This file will contain needed definitions for MYSQL
 * http://www.php.net/manual/en/mysql.constants.php
 * 
 * @author    Aziz S. Hussain <azizsaleh@gmail.com>
 * @copyright GPL license 
 * @license   http://www.gnu.org/copyleft/gpl.html 
 * @link      http://www.AzizSaleh.com
 */

if (defined('MYSQL_ASSOC')) {
   return;
}

define('MYSQL_CLIENT_LONG_PASSWORD'1);
define('MYSQL_CLIENT_FOUND_ROWS'2);
define('MYSQL_CLIENT_LONG_FLAG'4);
define('MYSQL_CLIENT_CONNECT_WITH_DB'8);
define('MYSQL_CLIENT_NO_SCHEMA'16);
define('MYSQL_CLIENT_COMPRESS'32);
define('MYSQL_CLIENT_ODBC'64);
define('MYSQL_CLIENT_LOCAL_FILES'128);
define('MYSQL_CLIENT_IGNORE_SPACE'256);
define('MYSQL_CLIENT_PROTOCOL'512);
define('MYSQL_CLIENT_INTERACTIVE'1024);
define('MYSQL_CLIENT_SSL'2048);
define('MYSQL_CLIENT_IGNORE_SIGPIPE'4096);
define('MYSQL_CLIENT_TRANSACTIONS'8192);
define('MYSQL_CLIENT_RESERVED'16384);
define('MYSQL_CLIENT_SECURE_CONNECTION'32768);
define('MYSQL_CLIENT_MULTI_STATEMENTS'65535);
define('MYSQL_CLIENT_MULTI_RESULTS'131072);
define('MYSQL_CLIENT_REMEMBER_OPTIONS'<< 31);

define('MYSQL_ASSOC'1);
define('MYSQL_NUM'2);
define('MYSQL_BOTH'3);