定义和用法
该mysql_field_flags ( )函数返回的旗帜外地的记录。
这一功能得到外地数据mysql_query ( )函数,并返回一个字符串的成功,或FALSE或失败时,有没有更多的行。
可能返回值:
auto_intcrement -1 ,如果设置A UTO_INCREMENT
二进制-1 ,如果外地有比纳尔属性集
斑点-1 ,如果是外地的B LOB
枚举-1 ,如果外地是一个枚举领域
multiple_key -1 ,如果外地是一个非唯一关键
not_null -1 ,如果字段不能为空
primary_key -1 ,如果是外地的首要关键
时间戳记-1 ,如果外地是一个时间戳字段
unique_key -1 ,如果外地是一个独特的关键
未签名的-1 ,如果是未签名的领域
zerofill -1 ,如果是外地零填补
语法
mysql_field_flags(data,field_offset)
data:。指定的数据指针使用。数据指针是由于从mysql_query ( )函数field_offset要求。具体规定哪些领域,开始返回。 0表示第一个栏位来看个实例.
$sql = "SELECT * from Person";
$result = mysql_query($sql,$con);
$flags = mysql_field_flags($result, 0);
echo $flags;
输出结果.
not_null primary_key auto_increment

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!
