Forum und email

dbplus_update

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_update — Update specified tuple in relation

Leírás

int dbplus_update ( resource $relation , array $old , array $new )

dbplus_update() replaces the old tuple with the data from the new one, only if the old completely matches a tuple within relation .

Paraméterek

relation

A relation opened by dbplus_open().

old

The old tuple.

new

The new tuple.

Visszatérési értékek

Megjegyzések

Warning

Ez a függvény KÍSÉRLETI JELLEGGEL MŰKÖDIK. A függvény működése, neve, bármi amit a függévénnyel kapcsolatban dokumentáltunk megváltozhat egy későbbi PHP kiadásban minden figyelmeztetés nélkül. Ezt a függvényt csak a saját felelősségedre használd!