dbx_query

dbx_query -- Send a query and fetch all results (if any)

Description

object dbx_query ( object link_identifier, string sql_statement [, long flags])

Voorbeeld 1 .




DBX_RESULT_INDEX

DBX_RESULT_INFO

DBX_RESULT_ASSOC

DBX_COLNAMES_UNCHANGED (available from PHP 4.3.0)

DBX_COLNAMES_UPPERCASE (available from PHP 4.3.0)

DBX_COLNAMES_LOWERCASE (available from PHP 4.3.0)

Note that DBX_RESULT_INDEX is always used, regardless of the actual value of flags parameter. This means that the following combinations is effective only:





Voorbeeld 2 . lists each field ' s name and type




Voorbeeld 3 . outputs the content of data property into HTML table






Opmerking :