|
cubrid_field_flagsReturn a string with the flags of the given field offset Description
string cubrid_field_flags
( resource
$result
, int $field_offset
)
This function returns a string with the flags of the given field offset
separated by space. You can split the returned value using explode. The
possible flags could be: Parameters
Return ValuesA string with flags, when process is successful.
-1 if SQL sentence is not SELECT. ExamplesExample #1 cubrid_field_flags example
<?php The above example will output: Field Name Field Flags host_year not_null primary_key unique_key event_code not_null primary_key unique_key foreign_key athlete_code not_null primary_key unique_key foreign_key stadium_code not_null nation_code medal game_date |