|
cubrid_num_fieldsReturn the number of columns in the result set 説明
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. パラメータ
戻り値Number of columns, on success. -1 if SQL sentence is not SELECT.
例例1 cubrid_num_fields example
上の例の出力は以下となります。 Row Num: 6 Column Num: 2 |