函数:pg_FieldIsNull()


pg_FieldIsNull

检查字段是否有资料。

语法: int pg_fieldisnull(int result, int row, mixed field);

返回值: 整数

函数种类: 数据库功能

内容说明

本函数可检查指定的字段是否有资料。参数 result 为查询结果代码。参数 row 为指定列数,第一个的索引值是 0。参数 field 为指定的字段。返回 0 表示有资料,返回 1 表示无资料 (Null)。



[ 上一页 PHP 手册 下一页 ]



PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序