Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : SESAM Database Functions : sesam_field_name

sesam_field_name

Return one column name of the result set ()
int sesam_field_name ( string result_id, int index )

Gets the field name.

Parameters

result_id

A valid result id returned by sesam_query().

index

The column index is zero-based, not one-based as in SESAM.

Return Values

Returns the name of a field in the result set, or FALSE on error.

For "immediate" queries, or for dynamic columns, an empty string is returned.

See Also
sesam_field_array(). It provides an easier interface to access the column names and types, and allows for detection of "multiple fields".

Change Language


Follow Navioo On Twitter
sesam_affected_rows
sesam_commit
sesam_connect
sesam_diagnostic
sesam_disconnect
sesam_errormsg
sesam_execimm
sesam_fetch_array
sesam_fetch_result
sesam_fetch_row
sesam_field_array
sesam_field_name
sesam_free_result
sesam_num_fields
sesam_query
sesam_rollback
sesam_seek_row
sesam_settransaction
eXTReMe Tracker