From 038005e8117dab1a58c579aa75f2d29effadb213 Mon Sep 17 00:00:00 2001 From: Enrique Garcia Briones Date: Tue, 16 Mar 2004 15:26:37 +0000 Subject: [PATCH] Traducido al espaniol git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153793 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mysqli/functions/mysqli-affected-rows.xml | 60 ++++++----- .../mysqli/functions/mysqli-autocommit.xml | 42 ++++---- .../mysqli/functions/mysqli-bind-param.xml | 15 +-- .../mysqli/functions/mysqli-bind-result.xml | 15 +-- .../mysqli/functions/mysqli-change-user.xml | 70 ++++++------ .../functions/mysqli-character-set-name.xml | 38 ++++--- .../functions/mysqli-client-encoding.xml | 13 +-- reference/mysqli/functions/mysqli-close.xml | 22 ++-- reference/mysqli/functions/mysqli-commit.xml | 28 ++--- .../mysqli/functions/mysqli-connect-errno.xml | 38 ++++--- .../mysqli/functions/mysqli-connect-error.xml | 34 +++--- reference/mysqli/functions/mysqli-connect.xml | 100 ++++++++++-------- .../mysqli/functions/mysqli-data-seek.xml | 45 ++++---- reference/mysqli/functions/mysqli-debug.xml | 30 +++--- .../mysqli-disable-reads-from-master.xml | 7 +- .../functions/mysqli-disable-rpl-parse.xml | 7 +- .../functions/mysqli-dump-debug-info.xml | 20 ++-- .../functions/mysqli-embedded-connect.xml | 7 +- .../mysqli-enable-reads-from-master.xml | 7 +- .../functions/mysqli-enable-rpl-parse.xml | 7 +- reference/mysqli/functions/mysqli-errno.xml | 49 +++++---- reference/mysqli/functions/mysqli-error.xml | 44 ++++---- .../mysqli/functions/mysqli-escape-string.xml | 9 +- reference/mysqli/functions/mysqli-execute.xml | 15 +-- .../mysqli/functions/mysqli-fetch-array.xml | 77 ++++++++------ .../mysqli/functions/mysqli-fetch-assoc.xml | 55 +++++----- .../functions/mysqli-fetch-field-direct.xml | 71 +++++++------ .../mysqli/functions/mysqli-fetch-field.xml | 72 +++++++------ .../mysqli/functions/mysqli-fetch-fields.xml | 98 +++++------------ .../mysqli/functions/mysqli-fetch-lengths.xml | 50 +++++---- reference/mysqli/functions/mysqli-fetch.xml | 15 +-- 31 files changed, 598 insertions(+), 562 deletions(-) diff --git a/reference/mysqli/functions/mysqli-affected-rows.xml b/reference/mysqli/functions/mysqli-affected-rows.xml index bf8e96a0c2..a7fc2fe2d5 100644 --- a/reference/mysqli/functions/mysqli-affected-rows.xml +++ b/reference/mysqli/functions/mysqli-affected-rows.xml @@ -1,66 +1,70 @@ - + + mysqli_affected_rows mysqli->affected_rows - Gets the number of affected rows in a previous MySQL operation + Obtiene el número de filas afectadas en una operación + de MySQL previa - Description - Procedural style: + Descripción + Estilo por procedimientos: - mixedmysqli_affected_rows - objectlink + mixtomysqli_affected_rows + objetoidentificador_de_enlace - Object oriented style (property): + Estilo orientado a objetos (característica): mysqli - mixedaffected_rows + mixtoaffected_rows - mysqli_affected_rows returns the number of rows affected by the last - INSERT, UPDATE, or DELETE query associated with the provided link - parameter. If the last query was invalid, this function will return -1. + mysqli_affected_rows Regresa el número de filas + afectadas por la última consulta INSERT, UPDATE, o DELETE asociada + con el identificador_de_enlace dado. Si la última + consulta fue invalida, esta función regresará -1. - For SELECT statements mysqli_affected_rows works like - mysqli_num_rows. + Para sentencias SELECT mysqli_affected_rows trabaja + igual a mysqli_num_rows. - The mysqli_affected_rows function only works with queries which modify - a table. In order to return the number of rows from a SELECT query, use the - mysqli_num_rows function instead. + La función mysqli_affected_rows s&oacoute;lo trabaja + con consultas que modifican o afectan una tabla. En caso de que necesite el + número de filas de una consulta SELECT, use la función + mysqli_num_rows en su lugar. - Return Values + Valores Regresados - An integer greater than zero indicates the number of rows affected or retrieved. - Zero indicates that no records where updated for an UPDATE statement, no rows matched - the WHERE clause in the query or that no query has yet been executed. - -1 indicates that the query returned an error. + Un entero mayor a cero indica el número de filas afectadas u obtenidas. + Cero indica que no se actualizaron registros para una sentencia UPDATE, no hubo + coincidencias con la clausula WHERE en la consulta o que no se ha ejecutado + aún ninguna consulta. -1 indica que la consulta regreso un error. - If the number of affected rows is greater than maximal int value, the number of affected rows - will be returned as a string. + Si el número de filas afectadas es mayor que el valor entero máximo, + entonces el número de filas afectadas será regresado como una cadena. - See also + Vea también mysqli_num_rows, mysqli_info. - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_autocommit mysqli->auto_commit - Turns on or off auto-commiting database modifications + Activa o desactiva la modificación de auto-entrega de + la base de datos - Description - Procedural style: + Descripción + Estilo por procedimientos: boolmysqli_autocommit - objectlink - boolmode + objetoidentificador_de_enlace + boolmodo - Object oriented style (method) + Estilo orientado a objetos (método) mysqli bool auto_commit - boolmode + boolmodo - mysqli_autocommit is used to turn on or off auto-commit mode - on queries for the database connection represented by the link - object. + mysqli_autocommit Es usado para cambiar entre on u off + el modo de auto-entrega en las consultas para la conexión a la base + de datos representada por el objeto identificador_de_enlace. - mysqli_autocommit doesn't work with non transactional - table types (like MyISAM or ISAM). + mysqli_autocommit No funciona sobre tablas que no son + del tipo transaccional (como MyISAM o ISAM). - To determine the current state of autocommit use the SQL command + Para determinar el estado actual de auto-entrega use el comando SQL: 'SELECT @@autocommit'. - Return values + Valores que regresa &return.success; - See also + Vea también mysqli_commit, mysqli_rollback. - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_bind_param - Alias for mysqli_stmt_bind_param + Alias para mysqli_stmt_bind_param - Description + Descripción - This function is an alias of mysqli_stmt_bind_param. - For a detailled descripton see description of + Esta función es un alias de mysqli_stmt_bind_param. + Para una descripción detallada vea mysqli_stmt_bind_param. - mysqli_bind_param is deprecated and will be removed. + mysqli_bind_param es obsoleta y será removida. - See also + Vea tambi&eacuite;n mysqli_stmt_bind_param diff --git a/reference/mysqli/functions/mysqli-bind-result.xml b/reference/mysqli/functions/mysqli-bind-result.xml index 01f56ac37a..2c8ca2edfc 100644 --- a/reference/mysqli/functions/mysqli-bind-result.xml +++ b/reference/mysqli/functions/mysqli-bind-result.xml @@ -1,25 +1,26 @@ - + + mysqli_bind_result - Alias for mysqli_stmt_bind_result + Alias para mysqli_stmt_bind_result - Description + Descripción - This function is an alias of mysqli_stmt_bind_result. - For a detailled descripton see description of + Esta funció es un alias de mysqli_stmt_bind_result. + Para una descripción detallada vea mysqli_stmt_bind_result. - mysqli_bind_result is deprecated and will be removed. + mysqli_bind_result es obsoleta y será removida. - See also + Vea también mysqli_stmt_bind_result diff --git a/reference/mysqli/functions/mysqli-change-user.xml b/reference/mysqli/functions/mysqli-change-user.xml index 8c04c5c51b..00b1d696a3 100644 --- a/reference/mysqli/functions/mysqli-change-user.xml +++ b/reference/mysqli/functions/mysqli-change-user.xml @@ -1,74 +1,80 @@ - + + mysqli_change_user mysqli->change_user - Changes the user of the specified database connection + Cambia el usuario de la conexión a la base de datos especificada - Description - Procedural style: + Descripción + Estilo por procedimientos: boolmysqli_change_user - objectlink - stringuser - stringpassword - stringdatabase + objectidentificador_de_enlace + cadenausuario + cadenacontraseña + cadenabase_de_datos - Object oriented style (method): + Estilo orientado a objetos (método): mysqli bool change_user - stringuser - stringpassword - stringdatabase + cadenausuario + cadenacontraseńa + cadenabase_de_datos - mysqli_change_user is used to change the user of the specified - database connection as given by the link parameter and to set the - current database to that specified by the database parameter. + mysqli_change_user Es usada para cambiar el usuario para + la conexión de base de datos indicada por el parámetro + identificador_de_enlace y para fijar la actual base de datos a la específicada + por el parámetro base_de_datos. - If desired, the &null; value may be passed in place of the database - parameter resulting in only changing the user and not selecting a database. To select - a database in this case use the mysqli_select_db function. + Si se desea, se puede pasar el valor &null; en lugar del parámetro + base_de_datos resultando en solo cambiar el usaurio y no + seleccionar la base de datos. Para seleccionar una base de datos en este caso + use la función mysqli_select_db. - In order to successfully change users a valid username and - password parameters must be provided and that user must have - sufficient permissions to access the desired database. If for any reason authorization - fails, the current user authentication will remain. + Para poder cambiar de usuario de forma exitosa se debe proveer de un + usuario y contraseña + validos, y tales parámetros debe contar con los suficientes permisos + para acceder a la base de datos deseada. Si por cualquier razón la + autorización falla, el actual usuario autenticado permanecerá activo. - Using this command will always cause the current database connection to behave as if - was a completely new database connection, regardless of if the operation was completed - successfully. This reset includes performing a rollback on any active transactions, - closing all temporary tables, and unlocking all locked tables. + El uso de este comando siempre producirá que la conexión actual + a la base de datos se comporte como si fuera una nueva conexión, + sin importar si la operación fue completada exitosamente. Este reinicio + implica el hacer la restauración no actualizada "rollback" de cualquier + transacción activa, cerrar todas las tablas temporales y des-asegurar + todas las tablas aseguradas. - Return Values + Valores regresados &return.success; - See also: + Vea también: mysqli_connect mysqli_select_db - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_character_set_name mysqli->character_set_name - Returns the default character set for the database connection + Regresa el conjunto de caracteres determinados por default para + la conexión de base de datos - Description - Procedural style: + Descripción + Estilo por procedumientos: - stringmysqli_character_set_name - objectlink + cadenamysqli_character_set_name + objetoidentificador_de_enlace - Object oriented style (method): + Estilo orientado a objetos (método): mysqli - string + cadena character_set_name void - Returns the current character set for the database connection specified by the - link parameter. + Regresa el conjuntos de caracteres actual, determinado para la conexión + de base de datos específicada por el parámetro + identificador_de_enlace. - Return values - The default character set for the current connection + Valores regresados + El conjunto de caracteres por defecto, determinados para la + conexión actual - See also + Vea también mysqli_client_encoding. mysqli_real_escape_string. - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would be produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_client_encoding - Alias of mysqli_character_set_name + Alias de mysqli_character_set_name - Description + Descripción - This function is an alias of mysqli_character_set_name. - For a detailled descripton see description of + Esta función es un alias de mysqli_character_set_name. + Para una descripción detallada vea mysqli_character_set_name. - See also + Vea también mysqli_client_encoding. mysqli_real_escape_string. diff --git a/reference/mysqli/functions/mysqli-close.xml b/reference/mysqli/functions/mysqli-close.xml index c7ce502768..a18ca1e539 100644 --- a/reference/mysqli/functions/mysqli-close.xml +++ b/reference/mysqli/functions/mysqli-close.xml @@ -1,19 +1,20 @@ - + + mysqli_close mysqli->close - Closes a previously opened database connection + Cierra la conexión de base de datos previamente abierta - Description - Procedural style: + Descripción + Estilo por procedimientos: boolmysqli_close - objectlink + objetoidentificador_de_enlace - Object oriented style (method): + Estilo orientado a objetos (método): mysqli @@ -23,18 +24,19 @@ - The mysqli_close function closes a previously opened database - connection specified by the link parameter. + La función mysqli_close cierra una conexión + de base de datos previamente abierta, específicada por el parámetro + identificador_de_enlace. - Return values + Valores regresados &return.success; - See also + Vea también mysqli_connect, mysqli_init, diff --git a/reference/mysqli/functions/mysqli-commit.xml b/reference/mysqli/functions/mysqli-commit.xml index 3c98158c03..1a28524fca 100644 --- a/reference/mysqli/functions/mysqli-commit.xml +++ b/reference/mysqli/functions/mysqli-commit.xml @@ -1,19 +1,20 @@ - + + mysqli_commit mysqli->commit - Commits the current transaction + Completa la transacción actual - Description - Procedural style: + Descripción + Estilo por procedimientos: boolmysqli_commit - objectlink + objetoidentificador_de_enlace - Object oriented style (method) + Estilo orientado a objetos (método) mysqli @@ -23,28 +24,29 @@ - Commits the current transaction for the database connection specified by the - link parameter. + Entrega la transacción actual para la conexión de base de datos + específicada por el parametro + link. - Return values + Valores regresados &return.success; - See also + Vea también mysqli_autocommit, mysqli_rollback. - Examples + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - + + mysqli_connect_errno - Returns the error code from last connect call + Regresa el código de error de la última llamada a la conexión - Description + Descripción intmysqli_connect_errno void - The mysqli_connect_errno function will return the last error code number - for last call to mysqli_connect. - If no errors have occured, this function will return zero. + La función mysqli_connect_errno regresará + el últumo código de error generado por + mysqli_connect. + Si no han ocurrido errores, esta función regresará cero. - Client error message numbers are listed in the MySQL errmsg.h header file, - server error message numbers are listed in mysqld_error.h. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file Docs/mysqld_error.txt. + Los números de error del cliente, están listados en el archivo + de MySQL errmsg.h. + Los números de error del servidor, están listados en el archivo + de MySQL mysqld_error.h. + En la distribución de las fuentes de MySQL, tu puedes encontrar una + lista completa de los mensajes de error y de los números de error + en el documento Docs/mysqld_error.txt. - Return values + Valores regresados - An error code value for the last call to mysqli_connect, if it failed. - zero means no error occurred. + Un código de error para la última llamada a mysqli_connect, + si ésta falla. + Si no hay error entonces se regresa Cero. - See also + Vea también mysqli_connect, mysqli_connect_error, @@ -43,10 +49,10 @@ - Example + Ejemplo - mysqli_connect_errno sample + mysqli_connect_errno - + + mysqli_connect_error - Returns a string description of the last connect error + Regresa una descripción del último error de la + conexión - Description + Descripción - stringmysqli_connect_error + cadenamysqli_connect_error void - The mysqli_connect_error function is identical to the corresponding - mysqli_connect_errno function in every way, except instead of returning - an integer error code the mysqli_connect_error function will return - a string representation of the last error to occur for the last - mysqli_connect call. - If no error has occured, this function will return an empty string. + La función mysqli_connect_error es identica a + la función mysqli_connect_errno, excepto en que + en vez de regresar el número del código de error, la función + mysqli_connect_error regresará el mensaje de error + correspondiente a la última llamada a la función mysqli_connect. + Si no ha ocurrido error, está función regresará una cadena + vacía. - Return values + Valores regresados - A string that describes the error. An empty string if no error occurred. + Una cadena que describe el error o una cadena vacía si no ha ocurrido + error. - See also + Vea también mysqli_connect, mysqli_connect_errno, @@ -37,10 +41,10 @@ - Example + Ejemplo - mysqli_connect_error sample + mysqli_connect_error - + + mysqli_connect mysqli() - Open a new connection to the MySQL server + Abre una nueva conexión al servidor MySQL - Description - Procedural style + Descripción + Estilo por procedimientos - objectmysqli_connect - stringhost - stringusername - stringpasswd - stringdbname - intport - stringsocket + objetomysqli_connect + cadenaequipo_anfitrión + cadenausuario + cadenacontraseña + cadenabase_de_datos + intpuerto + cadenasocket - Object oriented style (constructor): + Estilo orientado a objetos (constructor): mysqli __construct - stringhost - stringusername - stringpasswd - stringdbname - intport - stringsocket + cadenaequipo_anfitrión + cadenausuario + cadenacontraseña + cadenabase_de_datos + intpuerto + cadenasocket - The mysqli_connect function attempts to open a connection to the MySQL Server - running on host which can be either a host name or an IP address. Passing the - &null; value or the string "localhost" to this parameter, the local host is assumed. When possible, - pipes will be used instead of the TCP/IP protocol. If successful, the mysqli_connect - will return an object representing the connection to the database, or &false; on failure. + La función mysqli_connect intenta abrir una conexión + al servidor MySQL que se está ejecutando en equipo_afitrión + el cual puede ser el nombre de un equipo o una dirección IP. Pasando el + valor &null; o la cadena "localhost" a este parámetro, se asume que + está en el mismo equipo. Cuando sea posible se usar&Acute; "pipes" en vez + del protocolo TCP/IP. En caso exitoso, la función mysqli_connect + regresará un objeto representando la conexión a la base de datos, + o &false; en caso contrario. - The username and password parameters specify the - username and password under which to connect to the MySQL server. If the password is not provided - (the &null; value is passed), the MySQL server will attempt to authenticate the user against those - user records which have no password only. This allows one username to be used with different - permissions (depending on if a password as provided or not). + En los parámetros usuario y contraseña + se específica el nombre de usuario y contraseña con los cuales + se debe conectar al servidor MySQL. Si no se da contraseña el valor + &null; es tomado, el servidor MySQL intentará verificar al usuario + contra los registros de usuarios que esten sin contraseña. Esto permite + que un usuario pueda ser usado con diferentes permisos (dependiendo si se + provee contraseña o no). - The dbname parameter if provided will specify the default database to be - used when performing queries. + Si se específica el parámetro base_de_datos + especificará la base de datos a usar por defecto cuando se ejecuten + consultas. - The port and socket parameters are used in - conjunction with the host parameter to further control how to connect - to the database server. The port parameter specifies the port number to - attempt to connect to the MySQL server on, while the socket parameter - specifies the socket or named pipe that should be used. + Los parámetros puerto y socket + son usados junto con el parámetro equipo_anfitrión + para controla a futuro como conectar al servidor de base de datos. + El parámetro puerto específica el número + de puerto al que se intenta conectar en el servidor MySQL, mientras que el + parámetro socket específica el socket o + la pipa nombrada "pipe" que debe ser usada. - Specifying the socket parameter will not explicitly determine the type - of connection to be used when connecting to the MySQL server. How the connection is made to the - MySQL database is determined by the host parameter. + Especificar el parámetro socket no determina + explícitamente el tipo de conexión a ser usado cuando se conecta + al servidor MySQL. El parámetro equipo_anfitrión + determina como se hace la conexión a la base de datos MySQL. - Return values + Valores regresados - Returns a object which represents the connection to a MySQL Server or - &false; if the connection failed. + Regresa un objeto el cuál representa la conexión al servidor + MySQL o &false; en caso contrario. - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_data_seek result->data_seek - Adjusts the result pointer to an arbitary row in the result + Ajusta el apuntador arbitrariamente a una fila en el resultado - Description - Procedural style: + Descripción + Estilo por procedimientos: boolmysqli_data_seek - objectresult - intoffset + objetoresultado + intposición - Object oriented style (method): + Estilo orientado a objetos (método): - result + resultado bool data_seek - intoffset + intposición - The mysqli_data_seek function seeks to an arbitrary result pointer - specified by the offset in the result set represented by - result. The offset parameter must be between - zero and the total number of rows minus one (0..mysqli_num_rows - 1). + La función mysqli_data_seek busca arbitrariamente + apuntar al valor específicado por posición + en el conjunto resultante representado por result. + Los valores del parámetro posición + deben estar entre cero y el total de filas menus uno (0 .. mysqli_num_rows - 1). - This function can only be used with unbuffered results attained from the use of the - mysqli_store_result or mysqli_query functions. + Está función solo puede ser usada con resultados sin almacenamiento + intermedio logrados por el uso de las funciones + mysqli_store_result o mysqli_query. - Return values + Valores regresados &return.success; - See also + Vea también mysqli_store_result, mysqli_fetch_row, @@ -51,9 +54,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a onjetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_debug - Performs debugging operations + Realiza operaciones de rastreo de errores - Description + Descripción voidmysqli_debug - stringdebug + cadenaacción - The mysqli_debug function is used to perform debugging - operations using the Fred Fish debugging library. The debug - parameter is a string representing the debugging operation to perform. + La función mysqli_debug es usada para realizar + operaciones de rastreo y eliminación de errores utilizando la libreria + "Fred Fish". El parámetro acción + es una cadena que representa las operaciones de rastreo de errores a realizar. - To use the mysqli_debug function you must complile - the MySQL client library to support debugging. + Para usar la funció mysqli_debug se debe compilar + el cliente de MySQL con soporte para rastreo de errores "debugging". - Return values - mysqli_debug doesn't return any value. + Valores regresados + mysqli_debug no regresa ningún valor. - See also + Vea también mysqli_dump_debug_info, mysqli_report - Example + Ejemplo - Generating a Trace File + Generar un archivo de rastreo - + + mysqli_disable_reads_from_master - Description + Descripción voidmysqli_disable_reads_from_master - resourcelink + intidentificador_de_enlace &warn.experimental.func; diff --git a/reference/mysqli/functions/mysqli-disable-rpl-parse.xml b/reference/mysqli/functions/mysqli-disable-rpl-parse.xml index 6d682b11ba..dc53fd4e3b 100644 --- a/reference/mysqli/functions/mysqli-disable-rpl-parse.xml +++ b/reference/mysqli/functions/mysqli-disable-rpl-parse.xml @@ -1,15 +1,16 @@ - + + mysqli_disable_rpl_parse - Description + Descripción voidmysqli_disable_rpl_parse - objectlink + objetoidentificador_de_enlace &warn.experimental.func; diff --git a/reference/mysqli/functions/mysqli-dump-debug-info.xml b/reference/mysqli/functions/mysqli-dump-debug-info.xml index b7b08c3b79..4a7d5034d9 100644 --- a/reference/mysqli/functions/mysqli-dump-debug-info.xml +++ b/reference/mysqli/functions/mysqli-dump-debug-info.xml @@ -1,31 +1,33 @@ - + + mysqli_dump_debug_info mysqli->dump_debug_info - Dump debugging information into the log + Vacía información de rastreo de errores en el log - Description + Descripción boolmysqli_dump_debug_info - objectlink + objetoidentificador_de_enlace - This function is designed to be executed by an user with the SUPER privlege and - is used to dump debugging information into the log for the MySQL Server relating - to the connection specified by the link parameter. + Esta función está diseñada para ser ejecutada por un + usaurio con privilegios de SUPER usuario y es usada para vaciar la información + de rastreo de errores en el log del servidor MySQL relacionado a la conexión + específicada por el parámetro identificador_de_enlace. - Return values + Valores regresados &return.success; - See also + Vea también mysqli_debug. diff --git a/reference/mysqli/functions/mysqli-embedded-connect.xml b/reference/mysqli/functions/mysqli-embedded-connect.xml index 35e714df1b..e6f0757320 100644 --- a/reference/mysqli/functions/mysqli-embedded-connect.xml +++ b/reference/mysqli/functions/mysqli-embedded-connect.xml @@ -1,12 +1,13 @@ - + + mysqli_embedded_connect - Open a connection to an embedded mysql server. + Abre una conexió a un servidor MySQL embebido. - Description + Descripción objectmysqli_embedded_connect void diff --git a/reference/mysqli/functions/mysqli-enable-reads-from-master.xml b/reference/mysqli/functions/mysqli-enable-reads-from-master.xml index c549a4a8d6..dc8fbe0cae 100644 --- a/reference/mysqli/functions/mysqli-enable-reads-from-master.xml +++ b/reference/mysqli/functions/mysqli-enable-reads-from-master.xml @@ -1,15 +1,16 @@ - + + mysqli_enable_reads_from_master - Description + Descripción voidmysqli_enable_reads_from_master - objectlink + objetoidentificador_de_enlace &warn.experimental.func; diff --git a/reference/mysqli/functions/mysqli-enable-rpl-parse.xml b/reference/mysqli/functions/mysqli-enable-rpl-parse.xml index 0dd7f82199..d4bbfd5e3c 100644 --- a/reference/mysqli/functions/mysqli-enable-rpl-parse.xml +++ b/reference/mysqli/functions/mysqli-enable-rpl-parse.xml @@ -1,15 +1,16 @@ - + + mysqli_enable_rpl_parse - Description + Descripción voidmysqli_enable_rpl_parse - objectlink + objetoidentificador_de_enlace &warn.experimental.func; diff --git a/reference/mysqli/functions/mysqli-errno.xml b/reference/mysqli/functions/mysqli-errno.xml index 8d72fb3cc8..7c9ce94e0d 100644 --- a/reference/mysqli/functions/mysqli-errno.xml +++ b/reference/mysqli/functions/mysqli-errno.xml @@ -1,46 +1,53 @@ - + + mysqli_errno mysql->errno - Returns the error code for the most recent function call + Regresa el código de error para la función más + recientemente llamada - Description - Procedural style: + Descripción + Estilo por procedimientos: intmysqli_errno - objectlink + objetoidentificador_de_enlace - Object oriented style (property): + Estilo orientado a objetos (propiedad): mysqli interrno - The mysqli_errno function will return the last error code for - the most recent MySQLi function call that can succeed or fail with respect to the - database link defined by the link parameter. If no errors - have occured, this function will return zero. + La función mysqli_errno regresará el último + código de error para la función de MySQLi más recientemente + llamada, que pueda ser exitosa o fallar con respecto al identificador de enlace a + la base de datos definido por el parámetro identificador_de_enlace. + Si no han ocurrido errores, está función regresará cero. - Client error message numbers are listed in the MySQL errmsg.h header file, - server error message numbers are listed in mysqld_error.h. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file Docs/mysqld_error.txt. + Los números de error del cliente, están listados en el archivo + de MySQL errmsg.h. + Los números de error del servidor, están listados en el archivo + de MySQL mysqld_error.h. + En la distribución de las fuentes de MySQL, tu puedes encontrar una + lista completa de los mensajes de error y de los números de error + en el documento Docs/mysqld_error.txt. - Return values + Valores regresados - An error code value for the last call, if it failed. zero means no error occurred. + Un valor de código de error para la última llamada si falló. + Cero significa que no han ocurrido errores. - See also + Vea también mysqli_connect_errno, mysqli_connect_error, @@ -49,9 +56,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_error - Returns a string description of the last error + Regresa una cadena con la descripció del último error - Description - Procedural style: + Descripción + Estilo por procedimientos: - stringmysqli_error - objectlink + cadenamysqli_error + objetoidentificador_de_enlace - Object oriented style (property) + Estilo orientado a objetos (propiedad) mysqli - stringerror + cadenaerror - The mysqli_error function is identical to the corresponding - mysqli_errno function in every way, except instead of returning - an integer error code the mysqli_error function will return - a string representation of the last error to occur for the database connection - represented by the link parameter. If no error has occured, - this function will return an empty string. + La funció mysqli_error es identica a la correspondiente + mysqli_errno en todos los sentidos, excepto en que en + lugar de regresar un valor numérico, la función mysqli_error + regresará un mensaje de error, representando el último error + ocurrido para la conexió de base de datos identificador_de_enlace. + Si no han ocurrido errores, está función regresará una cadena vacía. - Return values + Valores regresados - A string that describes the error. An empty string if no error occurred. + Una cadena que describe el error. Una cadena vacía si no han ocurrido + errores. - See also + Vea también mysqli_connect_errno, mysqli_connect_error, @@ -42,9 +44,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli-escape-string - Alias of mysqli_real_escape_string + Alias de mysqli_real_escape_string - Description + Descripción - This function is an alias of mysqli_real_escape_string. + Esta función es un alias de mysqli_real_escape_string. diff --git a/reference/mysqli/functions/mysqli-execute.xml b/reference/mysqli/functions/mysqli-execute.xml index de445635b8..f1b05c4d6d 100644 --- a/reference/mysqli/functions/mysqli-execute.xml +++ b/reference/mysqli/functions/mysqli-execute.xml @@ -1,25 +1,26 @@ - + + mysqli_execute - Alias for mysqli_stmt_execute + Alias de mysqli_stmt_execute - Description + Descripción - This function is an alias of mysqli_stmt_execute. - For a detailled descripton see description of + Esta función es un alias de mysqli_stmt_execute. + Para una descipció más detallada vea la descripción de mysqli_stmt_execute. - mysqli_execute is deprecated and will be removed. + mysqli_execute es obsoleta y será removida. - See also + Vea también mysqli_stmt_execute diff --git a/reference/mysqli/functions/mysqli-fetch-array.xml b/reference/mysqli/functions/mysqli-fetch-array.xml index 2f2b9dce90..81a5c23933 100644 --- a/reference/mysqli/functions/mysqli-fetch-array.xml +++ b/reference/mysqli/functions/mysqli-fetch-array.xml @@ -1,65 +1,72 @@ - + + mysqli_fetch_array result->fetch_array - Fetch a result row as an associative, a numeric array, or both. + Obtiene una fila como una matriz asociativa, una matriz numérica o ambos. - Description - Procedural style: + Descripción + Estilo por procedimientos: - mixedmysqli_fetch_array - objectresult - intresulttype + mixtomysqli_fetch_array + objetoresultado + inttipo_de_resultado - Object oriend style (method): + Estilo orientado a objetos (método): - result + resultado - mixed + mixto fetch_array - intresulttype + inttipo_de_resultado - Returns an array that corresponds to the fetched row or &null; if there are no more rows for the - resultset represented by the result parameter. + Regresa una matrix que corresponde a las filas obtenidas o &null; si no hay + más filas para el resultado, representado por el parámetro + resultado. - mysqli_fetch_array is an extended version of the - mysqli_fetch_row function. In addition to storing the data in the - numeric indices of the result array, the mysqli_fetch_array function can - also store the data in associative indices, using the field names of the result set as keys. + mysqli_fetch_array es una versión mejorada de la función + mysqli_fetch_row. Ademá de almacenar los datos en + índices numéricos de la matriz resultante, la función + mysql_fetch_array también puede almacenar los datos en + índices asociativos, usando los nombre de los campos de el resultado como llaves. &database.field-case; - If two or more columns of the result have the same field names, the last column will take - precedence and overwrite the earlier data. In order to access multiple columns with the same - name, the numerically indexed version of the row must be used. + Si dos o más columnas de el resultado tienen el mismo nombre, la última + columna tomara precedencia y sobre escribirá lo primero. Para acceder a + varias columnas con el mismo nombre, la forma de índice numérica + debe ser usada. - The optional second argument resulttype is a constant indicating what - type of array should be produced from the current row data. The possible values for this parameter - are the constants MYSQLI_ASSOC, MYSQLI_NUM, or MYSQLI_BOTH. By default the - mysqli_fetch_array function will assume MYSQLI_BOTH for this parameter. + El parámetro opcional tipo_de_resultado es una + constante que indica qué tipo de matriz debe ser producido para la fila + de datos actual. Los posibles valires para este parámetro son las constantes + MYSQLI_ASSOC, MYSQLI_NUM, o MYSQLI_BOTH. Por defecto la función + mysqli_fetch_array asumirá el valor de MYSQLI_BOTH. - By using the MYSQLI_ASSOC constant this function will behave identically to the - mysqli_fetch_assoc, while MYSQLI_NUM will behave identically to the - mysqli_fetch_row function. The final option MYSQLI_BOTH will create a single - array with the attributes of both. + Al usar la constante MYSQLI_ASSOC, esta función se comportará + identica a la función mysqli_fetch_assoc, mientras + que con MYSQLI_NUM se comportará identica a la función + mysql_fetch_row. La opción final MYSQLI_BOTH + creará una matriz con los atributos de ambos. - Return values + Valores regresados - Returns an array that corresponds to the fetched row or &null; if there are no more rows in resultset. + Regresa una matriz que corresponde a las filas obtenidas o &null; si no hay + más filas en el resultado. - See also + Vea también mysqli_fetch_assoc, mysqli_fetch_row, @@ -67,9 +74,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producián la siguiente salida: - + + mysqli_fetch_assoc mysqli->fetch_assoc - Fetch a result row as an associative array + Obtiene una fila del resultado como una matriz asociativa - Description - Procedural style: + Descripción + Estilo por procedimientos: - arraymysqli_fetch_assoc - objectresult + matrizmysqli_fetch_assoc + objetoresultado - Object oriend style (method): + Estilo orientado a objetos (método): - result + resultado - array + matriz fetch_assoc void - Returns an associative array that corresponds to the fetched row or &null; if there are - no more rows. + Regresa una matriz asociativa que corresponde a las filas obtenidas o &null; + si no hay mas filas. - The mysqli_fetch_assoc function is used to return an associative array - representing the next row in the result set for the result represented by the - result parameter, where each key in the array represents the name - of one of the result set's columns. + La función mysqli_fetch_assoc es usada para regresar + una representación asociativa de la siguiente fila en el resultado, + representado por el parámetro resultado, donde + cada llave en la matriz representa el nombre de las columnas en el resultado. - If two or more columns of the result have the same field names, - the last column will take precedence. To access the other - column(s) of the same name, you either need to access the - result with numeric indices by using - mysqli_fetch_row or add alias names. + Si dos o más columnas de el resultado tienen el mismo nombre, la última + columna tomara precedencia y sobre escribirá lo primero. Para acceder a + varias columnas con el mismo nombre, la forma de índice numérica + debe ser usada. &database.field-case; - Return values + Valores regresados - Returns an array that corresponds to the fetched row or &null; if there are no more rows in resultset. + Regresa una matriz que corresponde a las filas obtenidas o &null; si no hay + más filas en el resultado. - See also + Vea también mysqli_fetch_array, mysqli_fetch_row, @@ -56,9 +57,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_fetch_field_direct result->fetch_field_direct - Fetch meta-data for a single field + Obtiene los metadatos de un campo - Description - Procedural style: + Descripción + Estilo por procedimientos: - mixedmysqli_fetch_field_direct - objectresult - intfieldnr + mixtomysqli_fetch_field_direct + objetoresultado + intindice_de_campo - Object oriented style (method): + Estilo orientado a objetos (método): - result + resultado - mixed + mixto fetch_field_direct - intfieldnr + intindice_de_campo - mysqli_fetch_field_direct returns an object which contains - field definition informations from specified resultset. The value of fieldnr must be in the - range from 0 to number of fields - 1. + La función mysqli_fetch_field_direct regresa un + objeto el cuál contiene información de la definición del + campo del resultado específicado. El valor de indice_de_campo debe estar + en el rango de 0 a número de campos -1. - Return values + Valores regresados - Returns an object which contains field definition informations or &false; if no field information - for specified fieldnr is available. + Regresa un objeto el cual contiene información de la definición del + campo o &false; si no hay información para el indice_de_campo + específicado. - Object attributes + Atributos del objeto - Attribute - Description + Atributo + Descripción name - The name of the column + Nombre de la columna orgname - Original column name if an alias was specified + Nombre original de la columna si se dió un alias table - The name of the table this field belongs to (if not calculated) + Nombre de la tabla a la que pertenece el campo orgtable - Original table name if an alias was specified + Nombre original de la tabla si se dió un alias def - The default value for this field, represented as a string + El valor por defecto para este campo, representado como una cadena max_length - The maximum width of the field for the result set. + La amplitud máxima de campo de el campo para el resultado flags - An integer representing the bit-flags for the field. + Un entero que representa los bit bandera para el campo type - The data type used for this field + Tipo de dato utilizado para este campo decimals - The number of decimals used (for integer fields) + Número de decimales usadas (para campos entero) @@ -90,7 +93,7 @@ - See also + Vea también mysqli_num_fields mysqli_fetch_field @@ -98,9 +101,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_fetch_field result->fetch_field - Returns the next field in the result set + Regresa metadatos de el campo en el resultado - Description - Procedural style: + Descripción + Estilo por procedimientos: - mixedmysqli_fetch_field - objectresult + mixtomysqli_fetch_field + objetoresultado - Object oriented style (method): + Estilo orientado a objetos (método): - result + resultado - mixedfetch_field - + mixto + fetch_field + - The mysqli_fetch_field returns the definition of one column - of a result set as an object. Call this function repeatedly to retrieve - information about all columns in the result set. - mysqli_fetch_field returns &false; when no more fields - are left. + La función mysqli_fetch_field regresa un objeto + con información de definición de un campo de un resultado. + Ejecute esta función repetidamente para obtener la información + de todas las columnas en un resultado. mysqli_fetch_field + regresa &false; cuando no hay más columnas en el resultado. - Return values + Valores regresados - Returns an object which contains field definition informations or &false; if no field information - is available. + Regresa un objeto el cual contiene la información de la definición + del campo o &false; si no hay información disponible.
- Object attributes + Atributos del objeto - Attribute - Description + Atributo + Descripción name - The name of the column + El nombre de la columna orgname - Original column name if an alias was specified + Nombre original de la columna, si se específico un alias table - The name of the table this field belongs to (if not calculated) + El nombre de la tablaa la cuál pertenece orgtable - Original table name if an alias was specified + Nombre original de la tabla si se específico un alias def - The default value for this field, represented as a string + El valor por defecto de este campo, representado con una cadena max_length - The maximum width of the field for the result set. + La máma amplitud del campo para el resultado flags - An integer representing the bit-flags for the field. + Un entero representando los bit de bandera para el campo type - The data type used for this field + El tipo de dato usado para este campo decimals - The number of decimals used (for integer fields) + El número de decimales utilizadas (para campos numéricos) @@ -88,7 +90,7 @@ - See also + Vea también mysqli_num_fields mysqli_fetch_field_direct @@ -97,9 +99,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_fetch_fields result->fetch_fields - Returns an array of objects representing the fields in a result set + Regresa una matriz de objetos representando los campos en un + resultado - Description - Procedural Style: + Descripción + Estilo por procedimientos: - mixedmysqli_fetch_fields - objectresult + mixtomysqli_fetch_fields + objetoresultado - Object oriented style (method): + Estilo orientado a objetos (método): - result + resultado - mixed + mixto fetch_fields - This function serves an identical purpose to the mysqli_fetch_field - function with the single difference that, instead of returning one object at a time for - each field, the columns are returned as an array of objects. For a description of the - attributes of each object and their meaning, see the mysqli_fetch_field - function. + Esta función sirve identica en propósito a la función + mysqli-fetch-field con la minima diferencia de que, + en lugar de regresar un objeto a la vez para cada campo, las columnas son + regresadas como una matiz de objetos. Para una descripción de los + atributos de cada objeto y su significado vea la función + mysqli_fetch_field. - Return values + Valores regresados - Returns an array of objects which contains field definition informations or &false; if no field information - is available. - - -
- Object attributes - - - - Attribute - Description - - - - - name - The name of the column - - - orgname - Original column name if an alias was specified - - - table - The name of the table this field belongs to (if not calculated) - - - orgtable - Original table name if an alias was specified - - - def - The default value for this field, represented as a string - - - max_length - The maximum width of the field for the result set. - - - flags - An integer representing the bit-flags for the field. - - - type - The data type used for this field - - - decimals - The number of decimals used (for integer fields) - - - -
+ Regresa una matriz de objetos que contienen la información de definició + de los campos o &false; si no hay información del campo disponible.
- See also + Vea también mysqli_num_fields mysqli_fetch_field @@ -97,9 +49,9 @@ - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_fetch_lengths result->lengths - Returns the lengths of the columns of the current row in the result set + Regresa la longitud de las columnas de la fila actual en el + resultado - Description - Procedural style: + Descripción + Estilo por procedimientos: - mixedmysqli_fetch_lengths - objectresult + mixtomysqli_fetch_lengths + objetoresultado - Object oriented style (property): + Estilo orientado a objetos(propiedad): - result - mixedlengths + resultado + mixtolengths - The mysqli_fetch_lengths function returns an array containing the - lengths of every column of the current row within the result set represented by the - result parameter. If successful, a numerically indexed array - representing the lengths of each column is returned or &false; on failure. + La función mysqli_fetch_lengths regresa una matriz + conteniendo la longitud de cada columna de la fila actual en el resultado + representado por el parámetro result. Si hay + información regresa una matriz numéricamente ordenada representando + la longitud de cada columna o &false; si falla. - Return values + Valores regresados - An array of integers representing the size of each column (not including - any terminating null characters). &false; if an error occurred. + Una matriz de enteros representando el tamaņo de cada columna (sin incluir + el caracter NULL al final de la columna). &false; si ocurre un error. - 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 - all rows in the result. + mysql_fetch_lengthsEs valida solo para la fila actual + en el resultado. Regresa &false; si se llama antes de ejecutar + mysql_fetch_row/array/object o después de obtener todas las filas + en el resultado. - Example + Ejemplos - Object oriented style + Estilo orientado a objetos close(); - Procedural style + Estilo por procedimientos - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: - + + mysqli_fetch - Alias for mysqli_stmt_fetch + Alias de mysqli_stmt_fetch - Description + Descripción - This function is an alias of mysqli_stmt_fetch. - For a detailled descripton see description of + Esta función es un alias de mysqli_stmt_fetch. + Para una descripción más detallada vea mysqli_stmt_fetch. - mysqli_fetch is deprecated and will be removed. + mysqli_fetch es obsoleta y será removida. - See also + Vea también mysqli_stmt_fetch