|
cubrid_num_fieldsReturn the number of columns in the result set Description
int cubrid_num_fields(resource
$result )This function returns the number of columns in the result set, on success, or it returns FALSE on failure. Parameters
Return ValuesNumber of columns, on success. -1 if SQL sentence is not SELECT.
ExamplesExample #1 cubrid_num_fields example
The above example will output: Row Num: 6 Column Num: 2 |