It returns the flags associated with a field in a record set
Example
<?php
mysql_connect(“localhost”, “root”, “phpcode”) or die(mysql_error());
mysql_select_db(“database_name”);
echo “<pre>”;
echo mysql_field_flags(mysql_query(“SELECT * FROM users”),1);
?>
Output
not_null