PHP Doku:: Execute an SQL query - mysqli.real-query.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMySQL Improved ExtensionThe MySQLi classmysqli::real_query -- mysqli_real_query

Ein Service von Reinhard Neidl - Webprogrammierung.

The MySQLi class

<<mysqli::real_escape_string -- mysqli_real_escape_string

mysqli::reap_async_query -- mysqli_reap_async_query>>

mysqli::real_query

mysqli_real_query

(PHP 5)

mysqli::real_query -- mysqli_real_queryExecute an SQL query

Beschreibung

Objektorientierter Stil

bool mysqli::real_query ( string $query )

Prozeduraler Stil

bool mysqli_real_query ( mysqli $link , string $query )

Executes a single query against the database whose result can then be retrieved or stored using the mysqli_store_result() or mysqli_use_result() functions.

In order to determine if a given query should return a result set or not, see mysqli_field_count().

Parameter-Liste

link

Nur bei prozeduralem Aufruf: Ein von mysqli_connect() oder mysqli_init() zurückgegebenes Verbindungsobjekt.

query

The query, as a string.

Data inside the query should be properly escaped.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch


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",...)