Class MySQLConnection

Description

Class used for connecting to a configurable MySQL Database.

  • version: $Id: MySQLConnection.php,v 1.6 2006/11/26 22:04:25 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
DatabaseConnection
   |
   --SimpleMySQLConnection
      |
      --MySQLConnection
Method Summary
MySQLConnection MySQLConnection (String $host, String $db, String $user, String $password, [boolean $newConnection = false])
Methods
Constructor MySQLConnection (line 48)

Connects to a MySQL DB using the given Connection Values.

MySQLConnection MySQLConnection (String $host, String $db, String $user, String $password, [boolean $newConnection = false])
  • String $host: the DB Host
  • String $db: the Database to select
  • String $user: the DB User
  • String $password: the Users Password
  • boolean $newConnection: whether a new Connection should be established

Inherited Methods

Inherited From SimpleMySQLConnection

SimpleMySQLConnection::SimpleMySQLConnection()
SimpleMySQLConnection::close()
SimpleMySQLConnection::connect()
SimpleMySQLConnection::freeResult()
SimpleMySQLConnection::insert()
SimpleMySQLConnection::isConnected()
SimpleMySQLConnection::sql()

Inherited From DatabaseConnection

DatabaseConnection::close()
DatabaseConnection::freeResult()
DatabaseConnection::insert()
DatabaseConnection::isConnected()
DatabaseConnection::sql()

Documentation generated by phpDocumentor 1.3.1