db_fetch_object

  1. drupal
    1. drupal6 database.mysql.inc
    2. drupal6 database.mysqli.inc
    3. drupal6
    4. drupal7 database.inc
Versionen
drupal6 db_fetch_object($result)
drupal7 db_fetch_object(DatabaseStatementInterface $statement)

Fetch one result row from the previous query as an object.

Übergabeparameter

$result A database query result resource, as returned from db_query().

Rückgabewert

An object representing the next row of the result, or FALSE. The attributes of this object are the table fields selected by the query.

Verwandte Themen

Code

includes/database.pgsql.inc, line 174

<?php
function db_fetch_object($result) {
  if ($result) {
    return pg_fetch_object($result);
  }
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen