class CDatabase

^ INDEX

Table of contents

CDatabase
DBAccess
DBConnect
DBGetRow
DBQuery

^ Top

CDatabase()

absolutengine

Class for accessing the MySQL database

^ Top

DBAccess()

DEPRECATED: since 1.70

Alias function to DBGetRow() for backward compatibility

SEE: DBGetRow()

^ Top

DBConnect()

Connects to the database

^ Top

DBGetRow()

Retrieve one row from query

SEE: DBQuery()

^ Top

DBQuery($query)

Queries the database
when INSERT command is used, $this->insertID is set to ID of inserted element
when SELECT command is used, $this->rowsnumber is set to number of returned rows
when UPDATE/DELETE command is used, $this->rowsnumber is set to number of affected rows

string query SQL query to execute

^ Top