text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
The optional second argument is a string of table tag options
|
クエリー結果 result_id の全ての行を HTML テーブルにフォーマットします。オプションの 2番目の引数は、 table タグのオプションとする文字列です。
|
Informix results as HTML table
|
例 1Informix 結果を HTML テーブルとして出力
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Mode "0" returns "", and mode "1 "returns" NULL ".
|
取得する行のデフォルトの返り値を NULL 値に設定します。 モード "0" は ""を返し、モード "1" は "NULL" を返します。
|
Prev
|
(PHP 3 = 3.0.3, PHP 4)
|
Returns the number of columns in query for result_id or FALSE on error
|
result_id に関するクエリー結果のカラム数または エラーの場合に FALSE を返します。
|
Prev
|
クエリーを準備または実行された後、この関数をコールすることにより、 クエリー結果中でカラム数が得られます。
|
Prev
|
(PHP 3 = 3.0.3, PHP 4)
|
Gives the number of rows fetched so far for a query with result_id after a ifx_query() or ifx_do() query.
|
ifx_query() または ifx_do() クエリーの後、 result_id を有する クエリーに関してこれまで取得された行の数を返します。
|
(PHP 3 = 3.0.3, PHP 4)
|
(PHP 3 = 3.0.3, PHP 4)
|
A positive Informix persistent link identifier on success, or FALSE on error
|
返り値: 成功時に正の Informix 持続的リンク ID 、エラー時に FALSE
|
This function behaves exactly like ifx_connect() when PHP is not running as an Apache module.
|
ifx_pconnect() は、二つの大きな違いはあるものの、 ifx_connect() と非常に似た動作をします。
|
If one is found, an identifier for it will be returned instead of opening a new connection.
|
この関数は、PHP が Apache モジュールとして実行されていない場合、 ifx_connect() とほとんど似た動作をします。 まず、接続時に、関数は、既にオープンされている同じホスト、ユーザ名、 パスワード の(持続的)リンク探します。 そのリンクが見つかった場合、新規に接続をオープンする代わりに おの ID が返されます。
|
Instead, the link will remain open for future use (ifx_close() will not close links established by ifx_pconnect()).
|
第二に、SQL サーバーへの接続は、スクリプトの実行終了時に閉じられません。 代わりにリンクは、後の使用のためにオープンされたままとなります。 (ifx_close() は ifx_pconnect() により確立されたリンクを閉じません。)
|
See also: ifx_connect().
|
この型のリンクは、このため、'持続的' であると呼ばれます。
|
Home
|
ifx_connect() も参照下さい。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Sets affected_rows for retrieval by the ifx_affected_rows() function.
|
ifx_do() で使用するために整数 result_id を返します。 ifx_affected_rows() 関数による取得を可能にする ために affected_rows をセットします。
|
For "select-type" queries a cursor is declared and opened.
|
接続 conn_id に関して query を準備します。"select 型" クエリーの 場合、カーソルが宣言され、オープンされます。オプションの cursor_type パラメータにより、そのカーソル を "スクロール" または "ホールド" カーソルとすることができます。 このオプションはビットマスクであり、IFX_SCROLL, IFX_HOLD, または 両方とも指定することができます。 select でないクエリーは、"直ちに実行"されます。
|
It' s a bitmask and can be either IFX_SCROLL, IFX_HOLD, or both or'ed together.
|
どちらのタイプのクエリーにおいても、(予測または実際の数として) 作用された行の数は、 ifx_affected_rows() により 取得可能とするために保存されます。
|
If you have BLOB (BYTE or TEXT) columns in the query, you can add a blobidarray parameter containing the corresponding "blob ids", and you should replace those columns with a "?" in the query text.
|
もし、クエリーにおいて BLOB (BYTE または TEXT) カラムがある場合、 対応する "BLOB ID" を有する blobidarray パ ラメータを追加することが可能です。この場合、クエリーテキストのこ れらのカラムを "?" で置換することが必要です。
|
This allows you to treat TEXT (or BYTE) columns just as if they were ordinary (but long) VARCHAR columns for select queries, and you don't need to bother with blob id's.
|
TEXT (または BYTE) カラムの内容が許すならば、 "ifx_textasvarchar(1)" または "ifx_byteasvarchar(1)" を使用するこ とも可能です。 これにより、TEXT (または BYTE) カラムは、select クエリーの 通常の(しかし長い)VARCHAR カラムと同様に処理され、 BLOB ID で悩むこともなくなります。
|
You can get the value of the blob as a string or file with the blob functions (see below).
|
ifx_textasvarchar(0) または ifx_byteasvarchar(0) (デフォルト値) の場合、select クエリーは、BLOB ID (整数値) に属するものとして BLOB カラムを返します。 BLOB 関数により文字列またはファイルとして BLOB の値を得ることが可能です。
|
Prev
|
ifx_do() も参照下さい。
|
Returns:
|
(PHP 3 = 3.0.3, PHP 4)
|
A "result_id" resource used by other functions to retrieve the query results.
|
返り値: 成功時に正の Informix 結果 ID、エラー時に FALSE
|
ifx_query() sends a query to the currently active database on the server that's associated with the specified link identifier.
|
リソース "result_id" は、クエリー結果を取得するために 他の関数により使用されます。 ifx_affected_rows() 関数による取得を行うために "affected_rows" をセットします。
|
The optional cursor_type The optional cursor_type parameter allows you to make this a "scroll" and / or "hold "cursor.
|
ifx_query() は、サーバー上の指定したリンク ID が指す現在アクティブなデータベースにクエリーを送信します。リンク ID が指定されない場合は、最後にオープンされたリンクを仮定します。 リンクがオープンされていない場合、この関数は、 ifx_connect() がコールされた時と同様にリンクを 確立しようと試み、それを使用します。
|
I you omit this parameter the cursor is a normal sequential cursor.
|
どちらのタイプのクエリーにおいても、(予測または実際の数として) 作用された行の数は、 ifx_affected_rows() により 取得するために保存されます。
|
If you have BLOB (BYTE or TEXT) columns in an update query, you can add a blobidarray parameter containing the corresponding "blob ids", and you should replace those columns with a "?" in the query text.
|
もし、update クエリーにおいて BLOB (BYTE または TEXT) カラムがあ る場合、対応する "BLOB ID" を有する blobidarray パラメータを追加することが可能 です。この場合、クエリーテキストのこれらのカラムを "?" で置換する ことが必要です。
|
This allows you to treat TEXT (or BYTE) columns just as if they were ordinary (but long) VARCHAR columns for select queries, and you don't need to bother with blob id's.
|
TEXT (または BYTE) カラムの内容が許すならば、 "ifx_textasvarchar(1)" または "ifx_byteasvarchar(1)" を使用するこ とも可能です。これにより、TEXT (または BYTE) カラムは、select ク エリーの通常の(しかし長い)VARCHAR カラムと同様に処理され、BLOB ID で悩むこともなくなります。
|
You can get the value of the blob as a string or file with the blob functions (see below).
|
ifx_textasvarchar(0) または ifx_byteasvarchar(0) (デフォルト値) の場合、select クエリーは、BLOB ID (整数値) に属するものとして BLOB カラムを返します。BLOB 関数により文字列またはファイルとして BLOB の値を得ることが可能です。(以下を参照)
|
Show all rows of the "orders" table as a html table
|
ifx_connect() も参照下さい。
|
Insert some values into the "catalog" table
|
例 1"orders" テーブルの全行を HTML テーブルとして表示する
|
ifx_textasvarchar
|
例 2値を "catalog" テーブルに挿入する
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Mode "0" will return a blob id, and mode "1 "will return a varchar with text content.
|
全ての select クエリーに関するデフォルトのテキストモードを設定します。 モード "0" は、BLOB を返し、"1" は、テキストの内容を有する varchar を 返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Returns TRUE on success or FALSE on failure.
|
指定したBLOB オブジェクト ID bid に関する BLOB オブジェクトの内容を更新します。 content は、新規データの文字列です。 エラーの場合に FALSE 、それ以外の場合に TRUE を返します。
|
(PHP 3 = 3.0.6, PHP 4)
|
(PHP 3 = 3.0.6, PHP 4)
|
Returns TRUE on success or FALSE on failure.
|
指定した文字オブジェクト bid に関して 文字オブジェクトの内容を更新します。 content は新規のデータを有する文字列です。 エラーの場合に FALSE 、それ以外の場合に TRUE を返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Returns TRUE on success or FALSE on failure.
|
指定した SLOB オブジェクト ID bid の SLOB オブジェクトを削除します。 エラーの場合に FALSE 、その他の場合に TRUE を返します。
|
Creates an slob object and opens it.
|
(PHP 3 = 3.0.4, PHP 4)
|
You can also use constants named IFX_LO_RDONLY, IFX_LO_WRONLY etc.
|
SLOB オブジェクトを作成し、オープンします。 モードは、1 = LO_RDONLY, 2 = LO_WRONLY, 4 = LO_APPEND, 8 = LO_RDWR, 16 = LO_BUFFER, 32 = LO_NOBUFFER - or-mask となります。 IFX_LO_RDONLY, IFX_LO_WRONLY 等の名前の定数を使用することも可能です。 エラーの場合に FALSE 、その他の場合に新しい SLOB オブジェクト ID を 返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Returns TRUE on success or FALSE on failure.
|
SLOB オブジェクトを削除します。 bid は SLOB オブジェクトの ID です。 エラーの場合に FALSE 、その他の場合に TRUE を返します。
|
Opens an slob object. bid should be an existing slob id.
|
(PHP 3 = 3.0.4, PHP 4)
|
Returns FALSE on error otherwise the new slob object-id.
|
SLOB オブジェクトをオープンします。 bid は存在する SLOB ID である必要があります。 モードは、1 = LO_RDONLY, 2 = LO_WRONLY, 4 = LO_APPEND, 8 = LO_RDWR, 16 = LO_BUFFER, 32 = LO_NOBUFFER - or-mask となります。 エラーの場合に FALSE 、その他の場合に新しい SLOB オブジェクト ID を 返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Return FALSE on error otherwise the string.
|
SLOB オブジェクトから n バイト読みこみます。 bid は存在する SLOB ID であり、 nbytes は読みこむバイト数です。 エラーの場合に FALSE 、その他の場合にその文字列を返します。
|
Sets the current file or seek position of an open slob object. bid should be an existing slob id.
|
(PHP 3 = 3.0.4, PHP 4)
|
Return FALSE on error otherwise the seek position.
|
オープンされた SLOB オブジェクトに関するカレントのファイルまたは シーク位置を設定します。 bid は存在する SLOB ID である必要があります。モードは、0 = LO_SEEK_SET, 1 = LO_SEEK_CUR, 2 = LO_SEEK_END となり、 offset はバイトオフセットです。 エラーの場合に FALSE 、その他の場合にシーク位置を返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Return FALSE on error otherwise the seek position.
|
オープンされた SLOB オブジェクトに関してカレントのファイルまたは シーク位置を返します。 bid は存在する SLOB ID である必要があります。エラーの場合に FALSE 、その他の場合にシー ク位置を返します。
|
(PHP 3 = 3.0.4, PHP 4)
|
(PHP 3 = 3.0.4, PHP 4)
|
Return FALSE on error otherwise bytes written.
|
SLOBオブジェクトを文字列に書きこみます。 bid は存在する SLOB ID 、 content は書きこむ内容です。エラーの場合に FALSE 、その他の場合に書きこんだバイト数を返します。
|
This function sets whether a client disconnect should cause a script to be aborted.
|
(PHP 3 = 3.0.7, PHP 4)
|
See the Connection Handling section in the Features chapter for a complete description of connection handling in PHP.
|
この関数は、クライアントとの接続断がスクリプトの実行中断を引き起 こすかどうかを設定します。この関数は前の設定を返し、現在の設定を 変えずに現在の設定を返すためだけのために引数なしでコールすること が可能です。PHPにおける接続処理の詳細な説明に関しては、機能の章の 接続処理の節を参照下さい。
|
(PHP 4 = 4.0.5)
|
(PHP 4 = 4.0.5)
|
The image argument is the return from imagecreate().
|
Image2WBMP() は、イメージ im からfilenameに WBMP ファ イルを作成します。 im 引数は、 ImageCreate() から返されます。
|
By sending an image / vnd.wap.wbmp content-type using header(), you can create a PHP script that outputs WBMP images directly.
|
引数filenameはオプションで、省略された場合には、生のイメージスト リームが直接出力されます。 header() を用いて image/vnd.wap.wbmp content-typeを送信すること により、WBMPイメージに直接出力するPHPスクリプトを生成可能です。
|
See also imagewbmp().
|
注意 WBMPサポートは、GD-1.8以降でPHPをコンパイルされた場合のみ利用可能 です。
|
image_type_to_mime_type
|
ImageWBMP() も参照下さい。
|
imagealphablending() allows for two different modes of drawing on truecolor images.
|
(PHP 4 = 4.0.6)
|
Blending mode is not available when drawing on palette images.
|
注意 この関数は、PHP 4.0.6で追加され、GD 2.0.1を必要をします。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
See also imageellipse(), imagefilledellipse(), and imagefilledarc().
|
ImageEllipse(), ImageFilledEllipse(), ImageFilledArc() も参照下さい。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
If font is 1, 2, 3, 4 or 5, a built-in font is used (with higher numbers corresponding to larger fonts).
|
ImageChar() は、画像 im 上 の座標 x, y (左上が 0,0) に col 色で c の 最初の文字を描画します。 font が、1, 2, 3, 4, 5 の場合は組込みフォントが使用されます。 (より大きな数字はより大きなフォントに対応します)
|
Prev
|
imageloadfont() も参考にしてください。
|
(PHP 3, PHP 4)
|
(PHP 3, PHP 4)
|
If font is 1, 2, 3, 4 or 5, a built-in font is used.
|
ImageCharUp() は、画像 im の座標( x, y )(左上が0,0)から col 色で c の最初の文字を垂直に描画します。 fontが 1, 2, 3, 4, 5の場合は、組込みフォントが使用されます。
|
Prev
|
imageloadfont() も参考にしてください。
|
(no version information, might be only in CVS)
|
(no version information, might be only in CVS)
|
0 indicates completely opaque while 127 indicates completely transparent.
|
imagecolorallocatealpha() behaves identically to imagecolorallocate() with the addition of the transparency parameter alpha which may have a value between 0 and 127. 0 indicates completely opaque while 127 indicates completely transparent.
|
Prev
|
Returns FALSE if the allocation failed.
|
imagecolorallocate() returns a color identifier representing the color composed of the given RGB components.
|
(PHP 3, PHP 4)
|
These parameters are integers between 0 and 255. imagecolorallocate() must be called to create each color that is to be used in the image represented by image.
|
ImageColorAllocate() は、指定した RGB を配色とする色の色IDを返します。 引数 im は imagecreate() 関数から 返されたものです。 ImageColorAllocate() は im で表される 画像上で使用される各々の色を作成する際にコールする必要があります。
|
Returns the index of the color of the pixel at the specified location in the image specified by image.
|
(PHP 3, PHP 4)
|
Use bitshifting and masking to access the distinct red, green and blue component values:
|
画像上の特定位置にあるピクセルの色のインデックスを返します。
|
See also imagecolorset() and imagecolorsforindex().
|
imagecolorset() および imagecolorsforindex() も参考にしてください。
|
Prev
|
(PHP 4 = 4.0.6)
|
Returns the index of the color in the palette of the image which is "closest" to the specified RGB value and alpha level.
|
Returns the index of the color in the palette of the image which is "closest" to the specified RGB value and alpha level.
|
Note:
|
See also imagecolorexactalpha().
|
Prev
|
注意 この関数はPHP 4.0.6で追加され、GD 2.0.1を必要とします。
|
Prev
|
(PHP 3, PHP 4)
|
Returns the index of the color in the palette of the image which is "closest" to the specified RGB value.
|
指定した RGB 値に「近い」画像パレット中の色のインデックス が返されます。
|
See also imagecolorexact().
|
指定した色とパレット上の各色の「距離」は、 RGB 値が3次元空間上の点の座標を表すと考えて計算します。
|
imagecolorclosestalpha
|
imagecolorexact() も参考にしてください。
|
Warning
|
(no version information, might be only in CVS)
|
Prev
|
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
|
(PHP 3 = 3.0.6, PHP 4)
|
(PHP 3 = 3.0.6, PHP 4)
|
$white = imagecolorallocate ($im, 255, 255, 255); imagecolordeallocate ($im, $white);
|
関数 ImageColorDeAllocate() は、関数 ImageColorAllocate() で確保された色を開放します。
|
Prev
|
(PHP 4 = 4.0.6)
|
(PHP 4 = 4.0.6)
|
イメージのパレットで指定した色+アルファ値のIDを返します。
|
If the color does not exist in the image 's palette, -1 is returned.
|
指定した色がイメージのパレットに存在しない場合、-1が返されます。
|
Note:
|
imagecolorclosestalpha() も参照下さい。
|
Prev
|
注意 この関数はPHP 4.0.6で追加され、GD 2.0.1以降を必要とします。
|
Prev
|
(PHP 3, PHP 4)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.