From e23aecf36a30143fbe0d2064a1d1be7e69b2140d Mon Sep 17 00:00:00 2001 From: Enrique Garcia Briones Date: Fri, 11 Jun 2004 14:09:55 +0000 Subject: [PATCH] changing mysql_* => mysqli_* git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161085 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/functions/mysqli-fetch-lengths.xml | 6 +++--- reference/mysqli/functions/mysqli-real-connect.xml | 4 ++-- reference/mysqli/functions/mysqli-stmt-bind-param.xml | 4 ++-- reference/mysqli/functions/mysqli-stmt-close.xml | 4 ++-- reference/mysqli/functions/mysqli-stmt-error.xml | 4 ++-- .../mysqli/functions/mysqli-stmt-store-result.xml | 10 +++++----- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/reference/mysqli/functions/mysqli-fetch-lengths.xml b/reference/mysqli/functions/mysqli-fetch-lengths.xml index 02d27e7df9..6ab8845347 100644 --- a/reference/mysqli/functions/mysqli-fetch-lengths.xml +++ b/reference/mysqli/functions/mysqli-fetch-lengths.xml @@ -1,5 +1,5 @@ - + mysqli_fetch_lengths @@ -32,8 +32,8 @@ any terminating null characters). &false; if an error occurred. - mysql_fetch_lengths is valid only for the current row of the result set. - It returns &false; if you call it before calling mysql_fetch_row/array/object or after retrieving + mysqli_fetch_lengths is valid only for the current row of the result set. + It returns &false; if you call it before calling mysqli_fetch_row/array/object or after retrieving all rows in the result. diff --git a/reference/mysqli/functions/mysqli-real-connect.xml b/reference/mysqli/functions/mysqli-real-connect.xml index b7dcea1c56..45ad01bea7 100644 --- a/reference/mysqli/functions/mysqli-real-connect.xml +++ b/reference/mysqli/functions/mysqli-real-connect.xml @@ -1,5 +1,5 @@ - + mysqli_real_connect @@ -36,7 +36,7 @@ - mysql_real_connect() attempts to establish a connection to a MySQL database engine running on host. + mysqli_real_connect() attempts to establish a connection to a MySQL database engine running on host. This function differs from mysqli_connect: diff --git a/reference/mysqli/functions/mysqli-stmt-bind-param.xml b/reference/mysqli/functions/mysqli-stmt-bind-param.xml index 3873bd86fc..f4064baca4 100644 --- a/reference/mysqli/functions/mysqli-stmt-bind-param.xml +++ b/reference/mysqli/functions/mysqli-stmt-bind-param.xml @@ -1,5 +1,5 @@ - + mysqli_stmt_bind_param @@ -30,7 +30,7 @@ mysqli_stmt_bind_param is used to bind variables for the parameter markers in the SQL statement that was passed to - mysql_prepare. + mysqli_prepare. The string types contains one or more characters which specify the types for the corresponding bind variables diff --git a/reference/mysqli/functions/mysqli-stmt-close.xml b/reference/mysqli/functions/mysqli-stmt-close.xml index e2bb8d64e6..2046ff8442 100644 --- a/reference/mysqli/functions/mysqli-stmt-close.xml +++ b/reference/mysqli/functions/mysqli-stmt-close.xml @@ -1,5 +1,5 @@ - + mysqli_stmt_close @@ -22,7 +22,7 @@ - Closes a prepared statement. mysql_stmt_close also deallocates the + Closes a prepared statement. mysqli_stmt_close also deallocates the statement handle pointed to by stmt. If the current statement has pending or unread results, this function cancels them so that the next query can be executed. diff --git a/reference/mysqli/functions/mysqli-stmt-error.xml b/reference/mysqli/functions/mysqli-stmt-error.xml index 02cde26943..5860b966be 100644 --- a/reference/mysqli/functions/mysqli-stmt-error.xml +++ b/reference/mysqli/functions/mysqli-stmt-error.xml @@ -1,5 +1,5 @@ - + mysqli_stmt_error @@ -19,7 +19,7 @@ stringerror - For the statement specified by stmt, mysql_stmt_error + For the statement specified by stmt, mysqli_stmt_error returns a containing the error message for the most recently invoked statement function that can succeed or fail. diff --git a/reference/mysqli/functions/mysqli-stmt-store-result.xml b/reference/mysqli/functions/mysqli-stmt-store-result.xml index 4d2975594b..8af09e6ea0 100644 --- a/reference/mysqli/functions/mysqli-stmt-store-result.xml +++ b/reference/mysqli/functions/mysqli-stmt-store-result.xml @@ -1,5 +1,5 @@ - + mysqli_stmt_store_result @@ -22,17 +22,17 @@ - You must call mysql_stmt_store_result for every query that + You must call mysqli_stmt_store_result for every query that successfully produces a result set (SELECT, SHOW, DESCRIBE, EXPLAIN), and only if you want to buffer the complete result set by the client, - so that the subsequent mysql_fetch call returns buffered data. + so that the subsequent mysqli_fetch call returns buffered data. - It is unnecessary to call mysql_stmt_store_result for other queries, + It is unnecessary to call mysqli_stmt_store_result for other queries, but if you do, it will not harm or cause any notable performance in all cases. You can detect whether the query produced a result set by checking if - mysql_stmt_result_metadata returns NULL. + mysqli_stmt_result_metadata returns NULL.