| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
maxdb_stmt_fetchmaxdb_stmt::fetch(PECL maxdb >= 1.0) maxdb_stmt_fetch -- maxdb_stmt::fetch — プリペアドステートメントの結果を取得し、バインド変数に格納する 説明手続き型
bool maxdb_stmt_fetch
( resource
$stmt
)オブジェクト指向型
bool maxdb_stmt::fetch
( void
)
maxdb_stmt_fetch() は、 maxdb_stmt_bind_result() でバインドした変数を使用して、 行のデータを返します。
返り値
例例1 オブジェクト指向型
<?php 例2 手続き型
<?php 上の例の出力は、 たとえば以下のようになります。 12203 (Albany) 60601 (Chicago) 60615 (Chicago) 45211 (Cincinnati) 33575 (Clearwater) 75243 (Dallas) 32018 (Daytona Beach) 33441 (Deerfield Beach) 48226 (Detroit) 90029 (Hollywood) 92714 (Irvine) 90804 (Long Beach) 11788 (Long Island) 90018 (Los Angeles) 70112 (New Orleans) 10019 (New York) 10580 (New York) 92262 (Palm Springs) 97213 (Portland) 60018 (Rosemont) 95054 (Santa Clara) 20903 (Silver Spring) 20005 (Washington) 20019 (Washington) 20037 (Washington) 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「maxdb_stmt_fetch - プリペアドステートメントの結果を取得し、バインド変数に格納する」をGoogle検索
|