SQLite3Result::fetchArray

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SQLite3Result::fetchArray Fetches a result row as an associative or numerically indexed array or both

Beschreibung

public SQLite3Result::fetchArray(int $mode = SQLITE3_BOTH): array|false

Fetches a result row as an associative or numerically indexed array or both. By default, fetches as both.

Parameter-Liste

mode

Controls how the next row will be returned to the caller. This value must be one of either SQLITE3_ASSOC, SQLITE3_NUM, or SQLITE3_BOTH.

  • SQLITE3_ASSOC: returns an array indexed by column name as returned in the corresponding result set

  • SQLITE3_NUM: returns an array indexed by column number as returned in the corresponding result set, starting at column 0

  • SQLITE3_BOTH: returns an array indexed by both column name and number as returned in the corresponding result set, starting at column 0

Rückgabewerte

Returns a result row as an associatively or numerically indexed array or both. Alternately will return false if there are no more rows.

The types of the values of the returned array are mapped from SQLite3 types as follows: integers are mapped to int if they fit into the range PHP_INT_MIN..PHP_INT_MAX, and to string otherwise. Floats are mapped to float, NULL values are mapped to null, and strings and blobs are mapped to string.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Bild drehen

Wenn du ein ikonisches Bild aus The Good, the Bad and the Ugly (z. B. Blondie, der dem sterbenden Soldaten seinen Mantel gibt) oder aus The Postma ...

Geschrieben von nanalyly am 27.05.2025 11:41:14
Forum: PHP Developer Forum
Google kauft WhatsApp-Konkurrenten Threema für fünf Milliarden Dollar

That’s really interesting, and it reminds me of when big tech companies started taking over popular apps I was using. I remember when Microsoft ...

Geschrieben von Chalmersas am 27.05.2025 06:52:00
Forum: Out of Order
Google reCAPTCHA in Kontaktformular einbinden

Damit ich Ihnen bestmöglich helfen kann, stellen Sie mir bitte den gesamten PHP-Code Ihres Kontaktformulars (wenn möglich einschließlich HTML o ...

Geschrieben von solain am 27.05.2025 03:31:41
Forum: PHP Developer Forum
Getriggertes Statement in Trigger abbrechen

Cuối cùng! Sybreed đã trở lại – trận đấu sẽ rất căng thẳng! Móc Stickman (https://stickmanhook2.org) Hook (https://stickma ...

Geschrieben von stickmanhook23 am 27.05.2025 03:23:00
Forum: SQL / Datenbanken