Results of 1 - 10 of about 54 for authors (0.002 sec.)
- クエリを実行する 11377
- « pg_put_line pg_query_params » PHP Manual PostgreSQL 関数 クエリを実行する 検索 pg_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_query — クエリを実行する 説明 function pg_query ( PgSql\Connection $connection = ? , string $query ): PgSql\R
... ublisher" ); if (! $conn ) { echo "An error occurred.\n" ; exit; } $result = pg_query ( $conn , "SELECT author, email FROM authors" ); if (! $result ) { echo "An error occurred.\n" ; exit; } while ( $row = pg_fetch_row ( $result )) { echo "Author: $row ... php $conn = pg_pconnect ( "dbname=publisher" ); // これらの文がひとつのトランザクションとして実行されます $query = "UPDATE authors SET author=UPPER(author) WHERE id=1;" ; $query .= "UPDATE authors SET author=LOWER(author) WHERE id=2;" ; $query .= "UPDAT ... E authors SET author=NULL WHERE id=3;" ; pg_query ( $conn , $query ); ?> 参考 pg_connect() - PostgreSQL 接続をオープンする pg_pconne ...
-
https://man.mtool.work/php/8.3/function.pg-query.html
- クエリを実行する 11377
- « pg_put_line pg_query_params » PHP Manual PostgreSQL 関数 クエリを実行する 検索 pg_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_query — クエリを実行する 説明 function pg_query ( PgSql\Connection $connection = ? , string $query ): PgSql\R
... ublisher" ); if (! $conn ) { echo "An error occurred.\n" ; exit; } $result = pg_query ( $conn , "SELECT author, email FROM authors" ); if (! $result ) { echo "An error occurred.\n" ; exit; } while ( $row = pg_fetch_row ( $result )) { echo "Author: $row ... php $conn = pg_pconnect ( "dbname=publisher" ); // これらの文がひとつのトランザクションとして実行されます $query = "UPDATE authors SET author=UPPER(author) WHERE id=1;" ; $query .= "UPDATE authors SET author=LOWER(author) WHERE id=2;" ; $query .= "UPDAT ... E authors SET author=NULL WHERE id=3;" ; pg_query ( $conn , $query ); ?> 参考 pg_connect() - PostgreSQL 接続をオープンする pg_pconne ...
-
https://man.mtool.work/php/8.3/function.pg-query.html
- PHP の関数を XPath 関数として登録する 11184
- « DOMXPath::registerPhpFunctionNS Dom\AdjacentPosition » PHP Manual DOMXPath PHP の関数を XPath 関数として登録する 検索 DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数と
... のみを取り出します $books = $xpath -> query ( '//book[php:function("has_multiple", author)]' ); echo "Books with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> ... 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 例4 DOMXPath::registerPhpFunctions() と callable の例 <?php $doc = new DOMDocument ; $doc -> load ( 'examples/ ... のみを取り出します $books = $xpath -> query ( '//book[php:function("has_multiple", author)]' ); echo "Books with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> ...
-
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html
- 非同期クエリを取り消す 10383
- « pg_affected_rows pg_change_password » PHP Manual PostgreSQL 関数 非同期クエリを取り消す 検索 pg_cancel_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_cancel_query — 非同期クエリを取り消す 説明 function pg_cancel_query ( PgSql\Connection $
... blisher" ) or die( "Could not connect" ); if (! pg_connection_busy ( $dbconn )) { pg_send_query ( $dbconn , "select * from authors; select count(*) from authors;" ); } $res1 = pg_get_result ( $dbconn ); echo "First call to pg_get_result(): $res1 \n" ; $ ... ード: query クエリ cancel 非同期 connection send dbconn rows PgSql Connection キャンセル 送信 インスタンス 期待 connect busy authors First call records Resource affected change password PostgreSQL ...
-
https://man.mtool.work/php/8.3/function.pg-cancel-query.html
- 非同期クエリの結果を取得する 9997
- « pg_get_pid pg_host » PHP Manual PostgreSQL 関数 非同期クエリの結果を取得する 検索 pg_get_result (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_get_result — 非同期クエリの結果を取得する 説明 function pg_get_result ( PgSql\Connection $connection
... blisher" ) or die( "Could not connect" ); if (! pg_connection_busy ( $dbconn )) { pg_send_query ( $dbconn , "select * from authors; select count(*) from authors;" ); } $res1 = pg_get_result ( $dbconn ); echo "First call to pg_get_result(): $res1 \n" ; $ ... 非同期 send rows query インスタンス dbconn connection call records Resource Connection PostgreSQL 送信 resource 期待 connect authors First Second host params execute 複数 ...
-
https://man.mtool.work/php/8.3/function.pg-get-result.html
- PHP の関数を XPath 関数として登録する 9790
- « DOMXPath::registerPhpFunctionNS Dom\AdjacentPosition » PHP Manual DOMXPath PHP の関数を XPath 関数として登録する 検索 DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数と
... のみを取り出します $books = $xpath -> query ( '//book[php:function("has_multiple", author)]' ); echo "Books with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> ... 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 例4 DOMXPath::registerPhpFunctions() と callable の例 <?php $doc = new DOMDocument ; $doc -> load ( 'examples/ ... のみを取り出します $books = $xpath -> query ( '//book[php:function("has_multiple", author)]' ); echo "Books with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> ...
-
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html
- コマンドとパラメータを分割してサーバーに送信し、その結果を待たない 9597
- « pg_send_query pg_set_chunked_rows_size » PHP Manual PostgreSQL 関数 コマンドとパラメータを分割してサーバーに送信し、その結果を待たない 検索 pg_send_query_params (PHP 5 >= 5.1.0, PHP 7, PHP 8) pg_send_query_params — コマンドとパラメータを分
... 使用する。パラメータにはクォートやエスケープが // 必要ないことに注意 pg_send_query_params ( $dbconn , 'select count(*) from authors where city = $1' , array( 'Perth' )); // 基本的な pg_send_query の使用法との比較 $str = pg_escape_string ( 'Perth' ); pg_s ... end_query ( $dbconn , "select count(*) from authors where city = ' { $str } '" ); ?> 参考 pg_send_query() - 非同期クエリを送信する 関連キーワード: query send params 送信 分割 ... サーバー PgSql Connection connection クエリ dbconn PostgreSQL インスタンス プレースホルダ 期待 connect count authors city Perth chunked rows size 制御 複数 ...
-
https://man.mtool.work/php/8.3/function.pg-send-query-params.html
- 非同期クエリを送信する 9404
- « pg_send_prepare pg_send_query_params » PHP Manual PostgreSQL 関数 非同期クエリを送信する 検索 pg_send_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_send_query — 非同期クエリを送信する 説明 function pg_send_query ( PgSql\Connection $conne
... blisher" ) or die( "Could not connect" ); if (! pg_connection_busy ( $dbconn )) { pg_send_query ( $dbconn , "select * from authors; select count(*) from authors;" ); } $res1 = pg_get_result ( $dbconn ); echo "First call to pg_get_result(): $res1 \n" ; $ ... rows dbconn 複数 接続 ビジー call records Resource PgSql Connection busy PostgreSQL 一度 cancel インスタンス 期待 connect authors First ...
-
https://man.mtool.work/php/8.3/function.pg-send-query.html
- 基本的な使用法 9404
- « 例 基本的な使い方 » PHP Manual 例 基本的な使用法 検索 基本的な使用法 この例では、PostgreSQL への接続・クエリの実行・結果の表示 そして切断の方法を説明します。 例1 PostgreSQL 拡張モジュールの概要 <?php // 接続し、データベースを選択する $dbc
... ser=www password=foo" ) or die( 'Could not connect: ' . pg_last_error ()); // SQL クエリを実行する $query = 'SELECT * FROM authors' ; $result = pg_query ( $dbconn , $query ) or die( 'Query failed: ' . pg_last_error ()); // 結果を HTML で表示する echo "< ... クエリ connect last table line 使い方 切断 方法 拡張 概要 データベース 選択 host localhost dbname publishing user password authors Query ...
-
https://man.mtool.work/php/8.3/pgsql.examples-basic.html
- 非同期クエリを取り消す 8618
- « pg_affected_rows pg_change_password » PHP Manual PostgreSQL 関数 非同期クエリを取り消す 検索 pg_cancel_query (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) pg_cancel_query — 非同期クエリを取り消す 説明 function pg_cancel_query ( PgSql\Connection $
... blisher" ) or die( "Could not connect" ); if (! pg_connection_busy ( $dbconn )) { pg_send_query ( $dbconn , "select * from authors; select count(*) from authors;" ); } $res1 = pg_get_result ( $dbconn ); echo "First call to pg_get_result(): $res1 \n" ; $ ...
-
https://man.mtool.work/php/8.3/function.pg-cancel-query.html