downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysqli::reap_async_query> <mysqli::real_escape_string
[edit] Last updated: Fri, 25 May 2012

view this page in

mysqli::real_query

mysqli_real_query

(PHP 5)

mysqli::real_query -- mysqli_real_querySQL クエリを実行する

説明

オブジェクト指向型

bool mysqli::real_query ( string $query )

手続き型

bool mysqli_real_query ( mysqli $link , string $query )

データベースに対して単一のクエリを実行します。 その結果を取得したり保存したりするには、関数 mysqli_store_result() あるいは mysqli_use_result() を使用します。

指定したクエリが結果を返すかどうかを調べるには、 mysqli_field_count() を参照ください。

パラメータ

link

手続き型のみ: mysqli_connect() あるいは mysqli_init() が返すリンク ID。

query

クエリを表す文字列。

クエリ内のデータは 適切にエスケープ. する必要があります。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考



add a note add a note User Contributed Notes mysqli::real_query
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites