| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
cubrid_insert_id(PECL CUBRID >= 8.3.0) cubrid_insert_id — Return the ID generated for the last updated 説明
string cubrid_insert_id
([ resource
$conn_identifier
] )The cubrid_insert_id() function retrieves the ID generated for the AUTO_INCREMENT column which is updated by the previous INSERT query. It returns 0 if the previous query does not generate new rows, or FALSE on failure.
返り値A string representing the ID generated for an AUTO_INCREMENT column by the previous query, on success. 0, if the previous query does not generate new rows.
変更履歴
例例1 cubrid_insert_id() example
<?php 上の例の出力は以下となります。 string(2) "19" |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「cubrid_insert_id - Return the ID generated for the last updated AUTO_INCREMENT column」をGoogle検索
|