Name

mysql_fieldflags

Synopsis

$flags = msql_fieldflags($result, $i);
$flags = mysql_fieldflags($result, $i);

Returns the flags belonging to the ith field of result. The returned value can be one of “primary key”, “not null”, “not null primary key” or “”.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.