What is mysql field flags in PHP

In this article I am going to explain about mysql_field_flags function in PHP.
  • 1804

PHP mysql_field_flags() Function

The PHP mysql_field_flags function is used to returns the flag associated with the specified field in a result.

Syntax of mysql_field_flags function

mysql_field_flags(data, fieldOffset)

Parameters in mysql_field_flags function

It have two parameter:

Parameter Description
data It specifies which data pointer to use.
fieldOffset It specifies which field to start returning.

Example of mysql_field_flags function





die("Could not connect:".mysql_error());


mysql_select_db("Mcn_Solution", $con);

$result=mysql_query("Select * from Emp",$con);


echo $fieldFlags;



You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.