sesam_query> <sesam_free_result
Last updated: Mon, 28 Dec 2009

sesam_num_fields

(No version information available, might be only in CVS)

sesam_num_fields — Return the number of fields/columns in a result set

Descrição

int sesam_num_fields ( string $result_id )

After calling sesam_query() with a "select type" query, this function gives you the number of columns in the result.

For "immediate" statements, the value zero is returned. The SESAM "multiple field" columns count as their respective dimension, i.e., a three-column "multiple field" counts as three columns.

Parâmetros

result_id

A valid result id returned by sesam_query().

Valor Retornado

Returns an integer describing the total number of columns (aka. fields) in the current result_id result set or FALSE on error.

Veja também



User Contributed Notes
sesam_num_fields
There are no user contributed notes for this page.

sesam_query> <sesam_free_result
Last updated: Mon, 28 Dec 2009