« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for sales (0.001 sec.)
sqlsrv_cancel — Cancels a statement | PHP 8.3 11224
sqlsrv_cancel (No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 説明 function sqlsrv_cancel ( resource $stmt ): bool Cancels a statement. Any results associated with the statement that have not bee ... nect ( $serverName , $connectionInfo ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $sql = "SELECT Sales FROM Table_1" ; $stmt = sqlsrv_prepare ( $conn , $sql ); if( $stmt === false ) { die( print_r ( sqlsrv_errors (), true )); ... } if( sqlsrv_execute ( $stmt ) === false ) { die( print_r ( sqlsrv_errors (), true )); } $salesTotal = 0 ; $count = 0 ; while( ( $row = sqlsrv_fetch_array ( $stmt )) && $salesTotal <= 100000 ) { $qty = $row [ 0 ]; $pri ... ce = $row [ 1 ]; $salesTotal += ( $price * $qty ); $count ++; } echo " $count sales accounted for the first $ $salesTotal in revenue.<br />" ; // ...
https://man.mtool.work/php/8.3/function.sqlsrv-cancel.html
rawurlencode — RFC 3986 に基づき URL エンコードを行う | PHP 8.3 10910
rawurlencode (PHP 4, PHP 5, PHP 7, PHP 8) rawurlencode — RFC 3986 に基づき URL エンコードを行う 説明 function rawurlencode ( string $string ): string 指定した文字列を » RFC 3986 にもとづいてエンコードします。 パラメータ string エンコードする ... 渡した場合は、 例2 rawurlencode() の例 2 <?php echo '<a href="http://example.com/department_list_script/' , rawurlencode ( 'sales and marketing/Miami' ), '">' ; ?> 上の例の出力は以下となります。 <a href="http://example.com/department_list_script/sales% ...
https://man.mtool.work/php/8.3/function.rawurlencode.html
OCI8 接続のハンドリングおよびプーリング | PHP 8.3 7729
OCI8 接続のハンドリングおよびプーリング 接続関数 oci8 拡張モジュールは Oracle に接続するための 3 つの異なる関数を提供しています。標準の接続関数は oci_connect() です。これは Oracle データベースへの接続を作成し、 それ以降のデータベースで使うリ ... します。 例えば、 MYDB = (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (HOST=myhost.dom.com) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=sales) (SERVER=POOLED))) あるいは、 PHP で Easy Connect 構文を修正して、サービス名の後に :POOLED を追加します。 $c = oci_pconnec ... t("myuser", "mypassword", "myhost.dom.com:1521/sales:POOLED"); php.ini を編集して、接続クラス名を選択してください。 この名前は、接続プールの論理的なディビジョンを指示し、 個別 ...
https://man.mtool.work/php/8.3/oci8.connection.html
OCI8 高速アプリケーション通知 (FAN) サポート | PHP 8.3 7082
OCI8 高速アプリケーション通知 (FAN) サポート FAN サポートは、高速接続フェイルオーバーという Oracle Database 高可用性機能を提供します。 これにより、データベースマシンまたはデータベースインスタンスが使用不能になると、 PHP OCI8 スクリプトに通知 ... のようなプログラムを使用します。 たとえば下記のように使用します。 SQL> execute dbms_service.modify_service( SERVICE_NAME => 'sales', AQ_HA_NOTIFICATIONS => TRUE); php.ini を編集して以下のように追加します。 oci8.events = On もし OCI8 のエラー条件をアプリ ...
https://man.mtool.work/php/8.3/oci8.fan.html
PREV 1 NEXT