PHP Doku:: Update specified tuple in relation - function.dbplus-update.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenDB++DB++ Funktionendbplus_update

Ein Service von Reinhard Neidl - Webprogrammierung.

DB++ Funktionen

<<dbplus_unselect

dbplus_xlockrel>>

dbplus_update

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_updateUpdate specified tuple in relation

Beschreibung

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.

Parameter-Liste

relation

A relation opened by dbplus_open().

old

The old tuple.

new

The new tuple.

Rückgabewerte

Anmerkungen

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)