XXI. dbx functions

Introduction

Requirements



Installation

Runtime Configuration

Taulu 1 .

For further details and definition of the PHP_INI_* constants see ini_set() .

Huomaa :

dbx.colnames_case string



Resource Types

Predefined Constants

These constants are defined by this extension , and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime .

DBX_MYSQL ( integer )

DBX_ODBC ( integer )

DBX_PGSQL ( integer )

DBX_MSSQL ( integer )

DBX_FBSQL ( integer )

DBX_OCI8 ( integer ) (available from PHP 4.3.0)

DBX_SYBASECT ( integer )

DBX_PERSISTENT ( integer )

DBX_RESULT_INFO ( integer )

DBX_RESULT_INDEX ( integer )

DBX_RESULT_ASSOC ( integer )

DBX_COLNAMES_UNCHANGED ( integer ) (available from PHP 4.3.0)

DBX_COLNAMES_UPPERCASE ( integer ) (available from PHP 4.3.0)

DBX_COLNAMES_LOWERCASE ( integer ) (available from PHP 4.3.0)

DBX_CMP_NATIVE ( integer )

DBX_CMP_TEXT ( integer )

DBX_CMP_NUMBER ( integer )

DBX_CMP_ASC ( integer )

DBX_CMP_DESC ( integer )

Sisällys
dbx_close -- Close an open connection/database
dbx_compare -- Compare two rows for sorting purposes
dbx_connect -- Open a connection/database
dbx_error -- Report the error message of the latest function call in the module (not just in the connection)
dbx_escape_string -- Escape a string so it can safely be used in an sql-statement.
dbx_query -- Send a query and fetch all results (if any)
dbx_sort -- Sort a result from a dbx_query by a custom sort function