|
cubrid_field_typeReturn the type of the column corresponding to the given field offset Description
string cubrid_field_type
( resource
$result
, int $field_offset
)This function returns the type of the column corresponding to the given field offset. The returned field type could be one of the following: "int", "real", "string", etc. Parameters
Return ValuesType of the column, on success.
-1 if SQL sentence is not SELECT. ExamplesExample #1 cubrid_field_type example
<?php The above example will output: Field Table Field Name Field Type code s_name char code f_name varchar |