mysql_affected_rows | PHP 3.0 |
int mysql_affected_rows([int link_identifier]) |
|
前回の MySQL 操作の影響を受けた行数を取得します。 |
mysql_close | PHP 3.0 |
bool mysql_close([int link_identifier]) |
|
MySQL 接続を閉じます。 |
mysql_connect | PHP 3.0 |
resource mysql_connect([string hostname[:port][:/path/to/socket][, string username[, string password[, bool new[, int flags]]]]]) |
|
MySQL サーバーへの接続を開きます。 |
mysql_create_db | PHP 3.0 |
bool mysql_create_db(string database_name[, int link_identifier]) |
|
MySQL データベースを作成します。 |
mysql_data_seek | PHP 3.0 |
bool mysql_data_seek(int result, int row_number) |
|
内部の結果ポインタを移動します。 |
mysql_db_query | PHP 3.0 |
resource mysql_db_query(string database_name, string query[, int link_identifier]) |
|
SQL クエリーを MySQL データベースに送信します。 |
mysql_drop_db | PHP 3.0 |
bool mysql_drop_db(string database_name[, int link_identifier]) |
|
MySQL データベースをドロップ (削除) します。 |
mysql_errno | PHP 3.0 |
int mysql_errno([int link_identifier]) |
|
前回の MySQL 操作からエラーメッセージのエラー番号を返します。 |
mysql_error | PHP 3.0 |
string mysql_error([int link_identifier]) |
|
前回の MySQL 操作からエラーメッセージのテキストを返します。 |
mysql_escape_string | PHP 4.0.3 |
string mysql_escape_string(string to_be_escaped) |
|
MySQL クエリーで使用するために文字列をエスケープします。 |
mysql_fetch_array | PHP 3.0 |
array mysql_fetch_array(int result[, int result_type]) |
|
結果の行を配列 (連想配列、添字配列、またはその両方) として取り込みます。 |
mysql_fetch_assoc | PHP 4.0.3 |
array mysql_fetch_assoc(int result) |
|
結果の行を連想配列として取り込みます。 |
mysql_fetch_field | PHP 3.0 |
object mysql_fetch_field(int result[, int field_offset]) |
|
結果から列情報を取得して、オブジェクトとして返します。 |
mysql_fetch_lengths | PHP 3.0 |
array mysql_fetch_lengths(int result) |
|
結果の各列の最大データサイズを取得します。 |
mysql_fetch_object | PHP 3.0 |
object mysql_fetch_object(int result[, int result_type]) |
|
結果の行をオブジェクトとして取り込みます。 |
mysql_fetch_row | PHP 3.0 |
array mysql_fetch_row(int result) |
|
結果の行を添字配列として取り出します。 |
mysql_field_flags | PHP 3.0 |
string mysql_field_flags(int result, int field_offset) |
|
結果内の指定されたフィールドに関連付けられたフラグを取得します。 |
mysql_field_len | PHP 3.0 |
int mysql_field_len(int result, int field_offset) |
|
指定されたフィールドの長さを返します。 |
mysql_field_name | PHP 3.0 |
string mysql_field_name(int result, int field_index) |
|
結果内から指定されたフィールドの名前を取得します。 |
mysql_field_seek | PHP 3.0 |
bool mysql_field_seek(int result, int field_offset) |
|
結果ポインタを特定のフィールドオフセットに設定します。 |
mysql_field_table | PHP 3.0 |
string mysql_field_table(int result, int field_offset) |
|
指定されたフィールドがあるテーブルの名前を取得します。 |
mysql_field_type | PHP 3.0 |
string mysql_field_type(int result, int field_offset) |
|
結果内から指定されたフィールドのタイプを取得します。 |
mysql_free_result | PHP 3.0 |
bool mysql_free_result(int result) |
|
結果用のメモリを解放します。 |
mysql_get_client_info | PHP 4.0.5 |
string mysql_get_client_info(void) |
|
クライアントライブラリのバージョンを示す文字列を返します。 |
mysql_get_host_info | PHP 4.0.5 |
string mysql_get_host_info([int link_identifier]) |
|
サーバーホスト名を含め、使用する接続の種類を示す文字列を返します。 |
mysql_get_proto_info | PHP 4.0.5 |
int mysql_get_proto_info([int link_identifier]) |
|
現在の接続で使用されているプロトコルのバージョンを返します。 |
mysql_get_server_info | PHP 4.0.5 |
string mysql_get_server_info([int link_identifier]) |
|
サーバーのバージョン番号を示す文字列を返します。 |
mysql_info | PHP 4.3.0 |
string mysql_info([int link_identifier]) |
|
最近のクエリーについての情報を示す文字列を返します。 |
mysql_insert_id | PHP 3.0 |
int mysql_insert_id([int link_identifier]) |
|
前回の INSERT 操作から生成された ID を取得します。 |
mysql_list_dbs | PHP 3.0 |
resource mysql_list_dbs([int link_identifier]) |
|
MySQL サーバーで使用可能なデータベースをリスト表示します。 |
mysql_list_fields | PHP 3.0 |
resource mysql_list_fields(string database_name, string table_name[, int link_identifier]) |
|
MySQL 結果フィールドをリスト表示します。 |
mysql_list_processes | PHP 4.3.0 |
resource mysql_list_processes([int link_identifier]) |
|
現在のサーバースレッドを示す結果セットを返します。 |
mysql_list_tables | PHP 3.0 |
resource mysql_list_tables(string database_name[, int link_identifier]) |
|
MySQL データベース内のテーブルをリスト表示します。 |
mysql_num_fields | PHP 3.0 |
int mysql_num_fields(int result) |
|
結果内のフィールド数を取得します。 |
mysql_num_rows | PHP 3.0 |
int mysql_num_rows(int result) |
|
結果内の行数を取得します。 |
mysql_pconnect | PHP 3.0 |
resource mysql_pconnect([string hostname[:port][:/path/to/socket][, string username[, string password[, int flags]]]]) |
|
MySQL サーバーへの永続的な接続を開きます。 |
mysql_ping | PHP 4.3.0 |
bool mysql_ping([int link_identifier]) |
|
サーバー接続を ping し、接続がない場合は再接続します。 |
mysql_query | PHP 3.0 |
resource mysql_query(string query[, int link_identifier][, int result_mode]) |
|
SQL クエリーを MySQL データベースに送信します。 |
mysql_real_escape_string | PHP 4.3.0 |
string mysql_real_escape_string(string to_be_escaped[, int link_identifier]) |
|
接続の現在の文字セットを考慮して、SQL ステートメントで使用できるように文字列内の特殊文字をエスケープします。 |
mysql_result | PHP 3.0 |
mixed mysql_result(int result, int row[, mixed field]) |
|
結果データを取得します。 |
mysql_select_db | PHP 3.0 |
bool mysql_select_db(string database_name[, int link_identifier]) |
|
MySQL データベースを選択します。 |
mysql_stat | PHP 4.3.0 |
string mysql_stat([int link_identifier]) |
|
ステータス情報を示す文字列を返します。 |
mysql_thread_id | PHP 4.3.0 |
int mysql_thread_id([int link_identifier]) |
|
現在の接続のスレッド ID を返します。 |
mysql_unbuffered_query | PHP 4.0.6 |
resource mysql_unbuffered_query(string query[, int link_identifier][, int result_mode]) |
|
結果の行の取り込みとバッファリングを行わずに、SQL クエリーを MySQL に送信します。 |