略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: px_update_record

2024-04-29

px_update_record

(PECL paradox >= 1.4.0)

px_update_recordUpdates record in paradox database

说明

px_update_record ( resource $pxdoc , array $data , int $num ) : bool

Updates an exiting record in the database. The record starts at 0.

The record data is passed as an array of field values. The elements in the array must correspond to the fields in the database. If the array has less elements than fields in the database, the remaining fields will be set to null.

Note:

This function is only available if pxlib >= 0.6.0 is used.

参数

pxdoc

Resource identifier of the paradox database as returned by px_new().

data

Associated array containing the field values as returned by px_retrieve_record().

num

The record number is an artificial number counting records in the order as they are stored in the database. The first record has number 0.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

px_insert_record() - Inserts record into paradox database

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.px-update-record.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3