« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for cols (0.003 sec.)
cubrid_num_cols — Return the number of columns in the result set | PHP 8.3 15082
cubrid_num_cols (PECL CUBRID >= 8.3.0) cubrid_num_cols — Return the number of columns in the result set 説明 function cubrid_num_cols ( resource $result ): int The cubrid_num_cols() function is used to get the number of columns from the que ... lt Result. 戻り値 Number of columns, when process is successful. false , if SQL statement is not SELECT. 例 例1 cubrid_num_cols() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" ); $req = cubrid_execute ( $conn , "SELECT ... * FROM code" ); $row_num = cubrid_num_rows ( $req ); $col_num = cubrid_num_cols ( $req ); printf ( "Row Num: %d\nColumn Num: %d\n" , $row_num , $col_num ); cubrid_disconnect ( $conn ); ?> 上の例の出力は ...
https://man.mtool.work/php/8.3/function.cubrid-num-cols.html
cubrid_num_rows — Get the number of rows in the result set | PHP 8.3 9574
cubrid_num_rows (PECL CUBRID >= 8.3.0) cubrid_num_rows — Get the number of rows in the result set 説明 function cubrid_num_rows ( resource $result ): int The cubrid_num_rows() function is used to get the number of rows from the query result ... dba" ); $req = cubrid_execute ( $conn , "SELECT * FROM code" ); $row_num = cubrid_num_rows ( $req ); $col_num = cubrid_num_cols ( $req ); printf ( "Row Num: %d\nColumn Num: %d\n" , $row_num , $col_num ); cubrid_disconnect ( $conn ); ?> 上の例の出力は ... 以下となります。 Row Num: 6 Column Num: 2 参考 cubrid_execute() - Execute a prepared SQL statement cubrid_num_cols() - Return the number of columns in the result set cubrid_affected_rows() - Return the number of rows affected by the last ...
https://man.mtool.work/php/8.3/function.cubrid-num-rows.html
Imagick::newImage — 新しい画像を作成する | PHP 8.3 9574
Imagick::newImage (PECL imagick 2, PECL imagick 3) Imagick::newImage — 新しい画像を作成する 説明 public function Imagick::newImage ( int $cols , int $rows , mixed $background , string $format = ? ): bool 新しい画像を作成し、ImagickPixel の値 ... を背景色として関連付けます。 パラメータ cols 新しい画像のカラム数。 rows 新しい画像の行数。 background この画像で使用する背景色。 format 画像フォーマット。このパラメー ...
https://man.mtool.work/php/8.3/imagick.newimage.html
RowResult::getColumns — カラムのメタデータを取得する | PHP 8.3 9248
RowResult::getColumns (No version information available, might only be in Git) RowResult::getColumns — カラムのメタデータを取得する 説明 public function mysql_xdevapi\RowResult::getColumns (): array 結果セットに存在するカラムのメタデータを取 ... ues ('John', 42), ('Sam', 33)" )-> execute (); $sql = $session -> sql ( "SELECT * from addressbook.names" )-> execute (); $cols = $sql -> getColumns (); print_r ( $cols ); 上の例の出力は、 たとえば以下のようになります。 Array ( [0] => mysql_xdevapi\F ...
https://man.mtool.work/php/8.3/mysql-xdevapi-rowresult.getcolumns.html
例 | PHP 8.3 8373
例 このリファレンスの多くの例で、XMLファイルが必要です。 私たちは、次のような形式の book.xml を使用します。 例1 book.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-o ... ]> <book id="listing"> <title>My lists</title> <chapter id="books"> <title>My books</title> <para> <informaltable> <tgroup cols="4"> <thead> <row> <entry>Title</entry> <entry>Author</entry> <entry>Language</entry> <entry>ISBN</entry> </row> </thead> ...
https://man.mtool.work/php/8.3/dom.examples.html
cubrid_field_name — Return the name of the specified field index | PHP 8.3 8373
cubrid_field_name (PECL CUBRID >= 8.3.0) cubrid_field_name — Return the name of the specified field index 説明 function cubrid_field_name ( resource $result , int $field_offset ): string This function returns the name of the specified field ... d_execute ( $conn , "SELECT * FROM game WHERE host_year=2004 AND nation_code='AUS' AND medal='G'" ); $col_num = cubrid_num_cols ( $result ); printf ( "%-30s %s\n" , "Field Name" , "Field Flags" ); for( $i = 0 ; $i < $col_num ; $i ++) { printf ( "%-30 ...
https://man.mtool.work/php/8.3/function.cubrid-field-name.html
cubrid_field_table — Return the name of the table of the specified field | PHP ... 8373
cubrid_field_table (PECL CUBRID >= 8.3.0) cubrid_field_table — Return the name of the table of the specified field 説明 function cubrid_field_table ( resource $result , int $field_offset ): string This function returns the name of the table ... nnect ( "localhost" , 33000 , "demodb" ); $result = cubrid_execute ( $conn , "SELECT * FROM code" ); $col_num = cubrid_num_cols ( $result ); printf ( "%-15s %-15s %s\n" , "Field Table" , "Field Name" , "Field Type" ); for( $i = 0 ; $i < $col_num ; $i ...
https://man.mtool.work/php/8.3/function.cubrid-field-table.html
cubrid_field_type — Return the type of the column corresponding to the given fi... 8373
cubrid_field_type (PECL CUBRID >= 8.3.0) cubrid_field_type — Return the type of the column corresponding to the given field offset 説明 function cubrid_field_type ( resource $result , int $field_offset ): string This function returns the ty ... nnect ( "localhost" , 33000 , "demodb" ); $result = cubrid_execute ( $conn , "SELECT * FROM code" ); $col_num = cubrid_num_cols ( $result ); printf ( "%-15s %-15s %s\n" , "Field Table" , "Field Name" , "Field Type" ); for( $i = 0 ; $i < $col_num ; $i ...
https://man.mtool.work/php/8.3/function.cubrid-field-type.html
cubrid_field_flags — Return a string with the flags of the given field offset |... 8270
cubrid_field_flags (PECL CUBRID >= 8.3.0) cubrid_field_flags — Return a string with the flags of the given field offset 説明 function cubrid_field_flags ( resource $result , int $field_offset ): string This function returns a string with th ... d_execute ( $conn , "SELECT * FROM game WHERE host_year=2004 AND nation_code='AUS' AND medal='G'" ); $col_num = cubrid_num_cols ( $result ); printf ( "%-30s %s\n" , "Field Name" , "Field Flags" ); for( $i = 0 ; $i < $col_num ; $i ++) { printf ( "%-30 ...
https://man.mtool.work/php/8.3/function.cubrid-field-flags.html
例 | PHP 8.3 7944
例 The following is a simple example that establishes a connection between PHP and CUBRID. This section will cover the most basic and notable features. The following code required to connect to CUBRID database, which means CUBRID Server and ... names ( $result ); /** * Get the number of columns in the result set created by the SQL query. */ $num_fields = cubrid_num_cols ( $result ); /** * List the column names of the result set on the screen. */ echo "<tr>" ; while (list( $key , $colname ) ...
https://man.mtool.work/php/8.3/cubrid.examples.html
PREV 1 2 NEXT