Results of 1 - 10 of about 29 for second row (0.030 sec.)
second (303), row (558)
- 結果セットの次行から単一カラムを返す 10393
- « PDOStatement::fetchAll PDOStatement::fetchObject » PHP Manual PDOStatement 結果セットの次行から単一カラムを返す 検索 PDOStatement::fetchColumn (PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 0.9.0) PDOStatement::fetchColumn — 結果セットの次行か
... h = $dbh -> prepare ( "SELECT name, colour FROM fruit" ); $sth -> execute (); print "Fetch the first column from the first row in the result set:\n" ; $result = $sth -> fetchColumn (); print "name = $result \n" ; print "Fetch the second column from ... the second row in the result set:\n" ; $result = $sth -> fetchColumn ( 1 ); print "colour = $result \n" ; ?> 上の例の出力は以下となり ... ます。 Fetch the first column from the first row in the result set: name = lemon Fetch the second column from the second row in the result set: colour = red 参考 PDO::quer ...
-
https://man.mtool.work/php/8.3/pdostatement.fetchcolumn.html
- 結果インスタンスから値を返す 9534
- « pg_fetch_object pg_fetch_row » PHP Manual PostgreSQL 関数 結果インスタンスから値を返す 検索 pg_fetch_result (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_fetch_result — 結果インスタンスから値を返す 説明 function pg_fetch_result ( PgSql\Result
... $result , string | false | null $row , mixed $field ): string | false | null function pg_fetch_result ( PgSql\Result $result , mixed $field ): string | false | ... g_query() 、 pg_query_params() や (様々な関数がありますが、特に) pg_execute() が返した PgSql\Result クラスのインスタンス。 row 結果から取得する行の番号。行番号は 0 から始まります。指定しなかった 場合は、次の行が読み込まれます。 field 取得するフィール ... $res = pg_query ( $db , "SELECT 1 UNION ALL SELECT 2" ); $val = pg_fetch_result ( $res , 1 , 0 ); echo "First field in the second row is: " , $val , "\n" ; ?> 上の例の出力は以下となります。 First field in the second row is: 2 参考 pg_query() - クエリを ...
-
https://man.mtool.work/php/8.3/function.pg-fetch-result.html
- 結果セットの次行から単一カラムを返す 9179
- « PDOStatement::fetchAll PDOStatement::fetchObject » PHP Manual PDOStatement 結果セットの次行から単一カラムを返す 検索 PDOStatement::fetchColumn (PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 0.9.0) PDOStatement::fetchColumn — 結果セットの次行か
... h = $dbh -> prepare ( "SELECT name, colour FROM fruit" ); $sth -> execute (); print "Fetch the first column from the first row in the result set:\n" ; $result = $sth -> fetchColumn (); print "name = $result \n" ; print "Fetch the second column from ... the second row in the result set:\n" ; $result = $sth -> fetchColumn ( 1 ); print "colour = $result \n" ; ?> 上の例の出力は以下となり ... ます。 Fetch the first column from the first row in the result set: name = lemon Fetch the second column from the second row in the result set: colour = red 参考 PDO::quer ...
-
https://man.mtool.work/php/8.3/pdostatement.fetchcolumn.html
- Get result of next query when executing multiple SQL statements 9170
- « cubrid_move_cursor cubrid_num_cols » PHP Manual CUBRID 関数 Get result of next query when executing multiple SQL statements 検索 cubrid_next_result (PECL CUBRID >= 8.4.0) cubrid_next_result — Get result of next query when executing multip
... lt_info ( $res ); function get_result_info ( $req ) { printf ( "\n------------ get_result_info --------------------\n" ); $row_num = cubrid_num_rows ( $req ); $col_num = cubrid_num_cols ( $req ); $column_name_list = cubrid_column_names ( $req ); $co ... en = cubrid_field_len ( $req , $col_num - 1 ); $column_1_flags = cubrid_field_flags ( $req , 1 ); printf ( "%-30s %d\n" , "Row count:" , $row_num ); printf ( "%-30s %d\n" , "Column count:" , $col_num ); printf ( "\n" ); printf ( "%-30s %-30s %-15s\n ... mn Type:" , $column_last_type ); printf ( "%-30s %d\n" , "Last Column Len:" , $column_last_len ); printf ( "%-30s %s\n" , "Second Column Flags:" , $column_1_flags ); printf ( "\n\n" ); } ?> 上の例の出力は以下となります。 ------------ get_result_info -- ...
-
https://man.mtool.work/php/8.3/function.cubrid-next-result.html
- 結果インスタンスから値を返す 9086
- « pg_fetch_object pg_fetch_row » PHP Manual PostgreSQL 関数 結果インスタンスから値を返す 検索 pg_fetch_result (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_fetch_result — 結果インスタンスから値を返す 説明 function pg_fetch_result ( PgSql\Result
... $result , string | false | null $row , mixed $field ): string | false | null function pg_fetch_result ( PgSql\Result $result , mixed $field ): string | false | ... g_query() 、 pg_query_params() や (様々な関数がありますが、特に) pg_execute() が返した PgSql\Result クラスのインスタンス。 row 結果から取得する行の番号。行番号は 0 から始まります。指定しなかった 場合は、次の行が読み込まれます。 field 取得するフィール ... $res = pg_query ( $db , "SELECT 1 UNION ALL SELECT 2" ); $val = pg_fetch_result ( $res , 1 , 0 ); echo "First field in the second row is: " , $val , "\n" ; ?> 上の例の出力は以下となります。 First field in the second row is: 2 参考 pg_query() - クエリを ...
-
https://man.mtool.work/php/8.3/function.pg-fetch-result.html
- PHP 変数を SQL 文のパラメータにバインドする 8868
- « db2_autocommit db2_client_info » PHP Manual IBM DB2 関数 PHP 変数を SQL 文のパラメータにバインドする 検索 db2_bind_param (PECL ibm_db2 >= 1.0.0) db2_bind_param — PHP 変数を SQL 文のパラメータにバインドする 説明 function db2_bind_param ( r
... db2_bind_param() をコールした後で変数を宣言することも可能です $upper_limit = 15.0 ; if ( db2_execute ( $stmt )) { while ( $row = db2_fetch_array ( $stmt )) { print " { $row [ 0 ]} , { $row [ 1 ]} , { $row [ 2 ]} \n" ; } } ?> 上の例の出力は以下となり ... ?, ?)' ; $conn = db2_connect ( $database , $user , $password ); $stmt = db2_prepare ( $conn , $sql ); $name = "Peaches" ; $second_name = "Rickety Ride" ; $weight = 0 ; db2_bind_param ( $stmt , 1 , "name" , DB2_PARAM_IN ); db2_bind_param ( $stmt , 2 , " ... b2_bind_param ( $stmt , 3 , "weight" , DB2_PARAM_OUT ); print "コール前のバインド変数の値:\n" ; print " 1: { $name } 2: { $second_name } 3: { $weight } \n\n" ; if ( db2_execute ( $stmt )) { print "コール後のバインド変数の値:\n" ; print " 1: { $name } 2 ...
-
https://man.mtool.work/php/8.3/function.db2-bind-param.html
- Get result of next query when executing multiple SQL statements 8699
- « cubrid_move_cursor cubrid_num_cols » PHP Manual CUBRID 関数 Get result of next query when executing multiple SQL statements 検索 cubrid_next_result (PECL CUBRID >= 8.4.0) cubrid_next_result — Get result of next query when executing multip
... lt_info ( $res ); function get_result_info ( $req ) { printf ( "\n------------ get_result_info --------------------\n" ); $row_num = cubrid_num_rows ( $req ); $col_num = cubrid_num_cols ( $req ); $column_name_list = cubrid_column_names ( $req ); $co ... en = cubrid_field_len ( $req , $col_num - 1 ); $column_1_flags = cubrid_field_flags ( $req , 1 ); printf ( "%-30s %d\n" , "Row count:" , $row_num ); printf ( "%-30s %d\n" , "Column count:" , $col_num ); printf ( "\n" ); printf ( "%-30s %-30s %-15s\n ... mn Type:" , $column_last_type ); printf ( "%-30s %d\n" , "Last Column Len:" , $column_last_len ); printf ( "%-30s %s\n" , "Second Column Flags:" , $column_1_flags ); printf ( "\n\n" ); } ?> 上の例の出力は以下となります。 ------------ get_result_info -- ...
-
https://man.mtool.work/php/8.3/function.cubrid-next-result.html
- PHP 変数を SQL 文のパラメータにバインドする 8680
- « db2_autocommit db2_client_info » PHP Manual IBM DB2 関数 PHP 変数を SQL 文のパラメータにバインドする 検索 db2_bind_param (PECL ibm_db2 >= 1.0.0) db2_bind_param — PHP 変数を SQL 文のパラメータにバインドする 説明 function db2_bind_param ( r
... db2_bind_param() をコールした後で変数を宣言することも可能です $upper_limit = 15.0 ; if ( db2_execute ( $stmt )) { while ( $row = db2_fetch_array ( $stmt )) { print " { $row [ 0 ]} , { $row [ 1 ]} , { $row [ 2 ]} \n" ; } } ?> 上の例の出力は以下となり ... ?, ?)' ; $conn = db2_connect ( $database , $user , $password ); $stmt = db2_prepare ( $conn , $sql ); $name = "Peaches" ; $second_name = "Rickety Ride" ; $weight = 0 ; db2_bind_param ( $stmt , 1 , "name" , DB2_PARAM_IN ); db2_bind_param ( $stmt , 2 , " ... b2_bind_param ( $stmt , 3 , "weight" , DB2_PARAM_OUT ); print "コール前のバインド変数の値:\n" ; print " 1: { $name } 2: { $second_name } 3: { $weight } \n\n" ; if ( db2_execute ( $stmt )) { print "コール後のバインド変数の値:\n" ; print " 1: { $name } 2 ...
-
https://man.mtool.work/php/8.3/function.db2-bind-param.html
- pixel iterator の行を設定する 8631
- « ImagickPixelIterator::setIteratorLastRow ImagickPixelIterator::syncIterator » PHP Manual ImagickPixelIterator pixel iterator の行を設定する 検索 ImagickPixelIterator::setIteratorRow (PECL imagick 2, PECL imagick 3) ImagickPixelIterator::s
... etIteratorRow — pixel iterator の行を設定する 説明 public function ImagickPixelIterator::setIteratorRow ( int $row ): bool 警告 この関数 ... は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。 pixel iterator の行を設定します。 パラメータ row 戻り値 成功した場合に true を返します。 例 例1 ImagickPixelIterator::setIteratorRow() <?php function setIteratorRow ( $ima ... through the pixels in the row (columns) */ foreach ( $pixels as $pixel ) { /** @var $pixel \ImagickPixel */ /* Paint every second pixel black*/ $pixel -> setColor ( "rgba(0, 0, 0, 0)" ); } /* Sync the iterator, this is important to do on each iteration ...
-
https://man.mtool.work/php/8.3/imagickpixeliterator.setiteratorrow.html
- クエリ結果のメモリを解放する 8604
- « pg_flush pg_get_notify » PHP Manual PostgreSQL 関数 クエリ結果のメモリを解放する 検索 pg_free_result (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_free_result — クエリ結果のメモリを解放する 説明 function pg_free_result ( PgSql\Result $result )
... $res = pg_query ( $db , "SELECT 1 UNION ALL SELECT 2" ); $val = pg_fetch_result ( $res , 1 , 0 ); echo "First field in the second row is: " , $val , "\n" ; pg_free_result ( $res ); ?> 上の例の出力は以下となります。 First field in the second row is: 2 参 ... リ使用量を返す 関連キーワード: メモリ free クエリ 解放 query PgSql インスタンス スクリプト 使用量 params execute 期待 First second row 送信 flush notify PostgreSQL 抑制 保持 自動的 freeresult 成功 履歴 resource ...
-
https://man.mtool.work/php/8.3/function.pg-free-result.html