cvs: phpdoc /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-autocommit.xml mysqli-bind-param.xml mysqli-bind-result.xml
mysqli-change-user.xml mysqli-character-set-name.xml mysqli-client-encoding.xml mysqli-close.xml mysqli-commit.xml mysqli-connect-errno.xml
mysqli-connect-error.xml mysqli-connect.xml mysqli-data-seek.xml mysqli-debug.xml mysqli-disable-reads-from-master.xml mysqli-disable-rpl-parse.xml
mysqli-dump-debug-info.xml mysqli-embedded-connect.xml mysqli-enable-reads-from-master.xml mysqli-enable-rpl-parse.xml mysqli-errno.xml
mysqli-error.xml mysqli-escape-string.xml mysqli-execute.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-field-direct.xml
mysqli-fetch-field.xml mysqli-fetch-fields.xml mysqli-fetch-lengths.xml mysqli-fetch.xml
| From: | Enrique Garcia Briones | Date: | Tue, 16 Mar 2004 15:26:37 +0000 |
| Subject: | cvs: phpdoc /en/reference/mysqli/functions mysqli-affected-rows.xml mysqli-autocommit.xml mysqli-bind-param.xml mysqli-bind-result.xml mysqli-change-user.xml mysqli-character-set-name.xml mysqli-client-encoding.xml mysqli-close.xml mysqli-commit.xml mysqli-connect-errno.xml mysqli-connect-error.xml mysqli-connect.xml mysqli-data-seek.xml mysqli-debug.xml mysqli-disable-reads-from-master.xml mysqli-disable-rpl-parse.xml mysqli-dump-debug-info.xml mysqli-embedded-connect.xml mysqli-enable-reads-from-master.xml mysqli-enable-rpl-parse.xml mysqli-errno.xml mysqli-error.xml mysqli-escape-string.xml mysqli-execute.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-field-direct.xml mysqli-fetch-field.xml mysqli-fetch-fields.xml mysqli-fetch-lengths.xml mysqli-fetch.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969359586@lists.php.net to get a copy of this message | ||
baoengb Tue Mar 16 10:26:37 2004 EDT
Modified files:
/phpdoc/en/reference/mysqli/functions mysqli-affected-rows.xml
mysqli-autocommit.xml
mysqli-bind-param.xml
mysqli-bind-result.xml
mysqli-change-user.xml
mysqli-character-set-name.xml
mysqli-client-encoding.xml
mysqli-close.xml
mysqli-commit.xml
mysqli-connect-errno.xml
mysqli-connect-error.xml
mysqli-connect.xml
mysqli-data-seek.xml
mysqli-debug.xml
mysqli-disable-reads-from-master.xml
mysqli-disable-rpl-parse.xml
mysqli-dump-debug-info.xml
mysqli-embedded-connect.xml
mysqli-enable-reads-from-master.xml
mysqli-enable-rpl-parse.xml
mysqli-errno.xml
mysqli-error.xml
mysqli-escape-string.xml
mysqli-execute.xml
mysqli-fetch-array.xml
mysqli-fetch-assoc.xml
mysqli-fetch-field-direct.xml
mysqli-fetch-field.xml
mysqli-fetch-fields.xml
mysqli-fetch-lengths.xml
mysqli-fetch.xml
Log:
Traducido al espaniol
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.14 phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.15 --- phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.14 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml Tue Mar 16 10:26:37 2004 @@ -1,66 +1,70 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.14 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-affected-rows"> <refnamediv> <refname>mysqli_affected_rows</refname> <refname>mysqli->affected_rows</refname> - <refpurpose>Gets the number of affected rows in a previous MySQL operation</refpurpose> + <refpurpose>Obtiene el número de filas afectadas en una operación + de MySQL previa</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_affected_rows</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>mixto</type><methodname>mysqli_affected_rows</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos (característica):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> - <fieldsynopsis><type>mixed</type><varname>affected_rows</varname></fieldsynopsis> + <fieldsynopsis><type>mixto</type><varname>affected_rows</varname></fieldsynopsis> </classsynopsis> <para> - <function>mysqli_affected_rows</function> returns the number of rows affected by the last - INSERT, UPDATE, or DELETE query associated with the provided <parameter>link</parameter> - parameter. If the last query was invalid, this function will return -1. + <function>mysqli_affected_rows</function> Regresa el número de filas + afectadas por la última consulta INSERT, UPDATE, o DELETE asociada + con el <parameter>identificador_de_enlace</parameter> dado. Si la última + consulta fue invalida, esta función regresará -1. </para> <note> <para> - For SELECT statements <function>mysqli_affected_rows</function> works like - <function>mysqli_num_rows</function>. + Para sentencias SELECT <function>mysqli_affected_rows</function> trabaja + igual a <function>mysqli_num_rows</function>. </para> </note> <para> - The <function>mysqli_affected_rows</function> function only works with queries which modify - a table. In order to return the number of rows from a SELECT query, use the - <function>mysqli_num_rows</function> function instead. + La función <function>mysqli_affected_rows</function> 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 + <function>mysqli_num_rows</function> en su lugar. </para> </refsect1> <refsect1> - <title>Return Values</title> + <title>Valores Regresados</title> <para> - 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. </para> <note> <para> - 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. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_rows</function>, <function>mysqli_info</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -102,7 +106,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -143,7 +147,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.13 phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.14 --- phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.13 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml Tue Mar 16 10:26:37 2004 @@ -1,61 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-autocommit"> <refnamediv> <refname>mysqli_autocommit</refname> <refname> mysqli->auto_commit</refname> - <refpurpose>Turns on or off auto-commiting database modifications</refpurpose> + <refpurpose>Activa o desactiva la modificación de auto-entrega de + la base de datos</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_autocommit</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> - <methodparam><type>bool</type><parameter>mode</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> + <methodparam><type>bool</type><parameter>modo</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method)</para> + <para>Estilo orientado a objetos (método)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>auto_commit</methodname> - <methodparam><type>bool</type><parameter>mode</parameter></methodparam> + <methodparam><type>bool</type><parameter>modo</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_autocommit</function> is used to turn on or off auto-commit mode - on queries for the database connection represented by the <parameter>link</parameter> - object. + <function>mysqli_autocommit</function> 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 <parameter>identificador_de_enlace</parameter>. </para> <note> <para> - <function>mysqli_autocommit</function> doesn't work with non transactional - table types (like MyISAM or ISAM). + <function>mysqli_autocommit</function> No funciona sobre tablas que no son + del tipo transaccional (como MyISAM o ISAM). </para> <para> - 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'. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores que regresa</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_commit</function>, <function>mysqli_rollback</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -82,7 +84,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -109,7 +111,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.8 phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.9 --- phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.8 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-bind-param"> <refnamediv> <refname>mysqli_bind_param</refname> - <refpurpose>Alias for <function>mysqli_stmt_bind_param</function></refpurpose> + <refpurpose>Alias para <function>mysqli_stmt_bind_param</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_bind_param</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_bind_param</function>. + Para una descripción detallada vea <function>mysqli_stmt_bind_param</function>. </para> <note> <para> - <function>mysqli_bind_param</function> is deprecated and will be removed. + <function>mysqli_bind_param</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea tambi&eacuite;n</title> <para> <function>mysqli_stmt_bind_param</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.5 phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.6 --- phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.5 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status; ready --> <refentry id="function.mysqli-bind-result"> <refnamediv> <refname>mysqli_bind_result</refname> - <refpurpose>Alias for <function>mysqli_stmt_bind_result</function></refpurpose> + <refpurpose>Alias para <function>mysqli_stmt_bind_result</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_bind_result</function>. - For a detailled descripton see description of + Esta funció es un alias de <function>mysqli_stmt_bind_result</function>. + Para una descripción detallada vea <function>mysqli_stmt_bind_result</function>. </para> <note> <para> - <function>mysqli_bind_result</function> is deprecated and will be removed. + <function>mysqli_bind_result</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_bind_result</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml Tue Mar 16 10:26:37 2004 @@ -1,74 +1,80 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-change-user"> <refnamediv> <refname>mysqli_change_user</refname> <refname>mysqli->change_user</refname> - <refpurpose>Changes the user of the specified database connection</refpurpose> + <refpurpose>Cambia el usuario de la conexión a la base de datos especificada</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_change_user</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> - <methodparam><type>string</type><parameter>user</parameter></methodparam> - <methodparam><type>string</type><parameter>password</parameter></methodparam> - <methodparam><type>string</type><parameter>database</parameter></methodparam> + <methodparam><type>object</type><parameter>identificador_de_enlace</parameter></methodparam> + <methodparam><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam><type>cadena</type><parameter>base_de_datos</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>change_user</methodname> - <methodparam><type>string</type><parameter>user</parameter></methodparam> - <methodparam><type>string</type><parameter>password</parameter></methodparam> - <methodparam><type>string</type><parameter>database</parameter></methodparam> + <methodparam><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam><type>cadena</type><parameter>contraseńa</parameter></methodparam> + <methodparam><type>cadena</type><parameter>base_de_datos</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_change_user</function> is used to change the user of the specified - database connection as given by the <parameter>link</parameter> parameter and to set the - current database to that specified by the <parameter>database</parameter> parameter. - </para> - <para> - If desired, the &null; value may be passed in place of the <parameter>database</parameter> - parameter resulting in only changing the user and not selecting a database. To select - a database in this case use the <function>mysqli_select_db</function> function. - </para> - <para> - In order to successfully change users a valid <parameter>username</parameter> and - <parameter>password</parameter> 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. + <function>mysqli_change_user</function> Es usada para cambiar el usuario para + la conexión de base de datos indicada por el parámetro + <parameter>identificador_de_enlace</parameter> y para fijar la actual base de datos a la específicada + por el parámetro <parameter>base_de_datos</parameter>. + </para> + <para> + Si se desea, se puede pasar el valor &null; en lugar del parámetro + <parameter>base_de_datos</parameter> 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 <function>mysqli_select_db</function>. + </para> + <para> + Para poder cambiar de usuario de forma exitosa se debe proveer de un + <parameter>usuario</parameter> y <parameter>contraseña</parameter> + 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. </para> <note> <para> - 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. </para> </note> </refsect1> <refsect1> - <title>Return Values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also:</title> + <title>Vea también:</title> <para> <function>mysqli_connect</function> <function>mysqli_select_db</function> </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -109,7 +115,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -149,7 +155,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml Tue Mar 16 10:26:37 2004 @@ -1,47 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-character-set-name"> <refnamediv> <refname>mysqli_character_set_name</refname> <refname>mysqli->character_set_name</refname> - <refpurpose>Returns the default character set for the database connection</refpurpose> + <refpurpose>Regresa el conjunto de caracteres determinados por default para + la conexión de base de datos</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedumientos:</para> <methodsynopsis> - <type>string</type><methodname>mysqli_character_set_name</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>cadena</type><methodname>mysqli_character_set_name</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> - <type>string</type> + <type>cadena</type> <methodname>character_set_name</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - Returns the current character set for the database connection specified by the - <parameter>link</parameter> parameter. + Regresa el conjuntos de caracteres actual, determinado para la conexión + de base de datos específicada por el parámetro + <parameter>identificador_de_enlace</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> - <para>The default character set for the current connection</para> + <title>Valores regresados</title> + <para>El conjunto de caracteres por defecto, determinados para la + conexión actual</para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_client_encoding</function>. <function>mysqli_real_escape_string</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -64,7 +68,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +92,7 @@ </programlisting> </example> <para> - The above examples would be produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.2 phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.3 --- phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.2 Fri Feb 20 03:54:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml Tue Mar 16 10:26:37 2004 @@ -1,20 +1,21 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-client-encoding"> <refnamediv> <refname>mysqli_client_encoding</refname> - <refpurpose>Alias of <function>mysqli_character_set_name</function></refpurpose> + <refpurpose>Alias de <function>mysqli_character_set_name</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_character_set_name</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_character_set_name</function>. + Para una descripción detallada vea <function>mysqli_character_set_name</function>. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_client_encoding</function>. <function>mysqli_real_escape_string</function>. http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-close.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-close.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.6 Wed Mar 10 13:49:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-close.xml Tue Mar 16 10:26:37 2004 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-close"> <refnamediv> <refname>mysqli_close</refname> <refname>mysqli->close</refname> - <refpurpose>Closes a previously opened database connection</refpurpose> + <refpurpose>Cierra la conexión de base de datos previamente abierta</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_close</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> @@ -23,18 +24,19 @@ </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_close</function> function closes a previously opened database - connection specified by the <parameter>link</parameter> parameter. + La función <function>mysqli_close</function> cierra una conexión + de base de datos previamente abierta, específicada por el parámetro + <parameter>identificador_de_enlace<parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_init</function>, http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-commit.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-commit.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.7 Wed Mar 10 13:49:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-commit.xml Tue Mar 16 10:26:37 2004 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-commit"> <refnamediv> <refname>mysqli_commit</refname> <refname>mysqli->commit</refname> - <refpurpose>Commits the current transaction</refpurpose> + <refpurpose>Completa la transacción actual</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_commit</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method)</para> + <para>Estilo orientado a objetos (método)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> @@ -23,28 +24,29 @@ </methodsynopsis> </classsynopsis> <para> - Commits the current transaction for the database connection specified by the - <parameter>link</parameter> parameter. + Entrega la transacción actual para la conexión de base de datos + específicada por el parametro + <parameter>link</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_autocommit</function>, <function>mysqli_rollback</function>. </para> </refsect1> <refsect1> - <title>Examples</title> + <title>Ejemplos</title> <para> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -78,7 +80,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.3 Fri Feb 20 06:10:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml Tue Mar 16 10:26:37 2004 @@ -1,39 +1,45 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect-errno"> <refnamediv> <refname>mysqli_connect_errno</refname> - <refpurpose>Returns the error code from last connect call</refpurpose> + <refpurpose>Regresa el código de error de la última llamada a la conexión</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>mysqli_connect_errno</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_connect_errno</function> function will return the last error code number - for last call to <function>mysqli_connect</function>. - If no errors have occured, this function will return zero. + La función <function>mysqli_connect_errno</function> regresará + el últumo código de error generado por + <function>mysqli_connect</function>. + Si no han ocurrido errores, esta función regresará cero. </para> <note> <para> - Client error message numbers are listed in the MySQL <filename>errmsg.h</filename> header file, - server error message numbers are listed in <filename>mysqld_error.h</filename>. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file <filename>Docs/mysqld_error.txt</filename>. + Los números de error del cliente, están listados en el archivo + de MySQL <filename>errmsg.h</filename>. + Los números de error del servidor, están listados en el archivo + de MySQL <filename>mysqld_error.h</filename>. + 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 <filename>Docs/mysqld_error.txt</filename>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - An error code value for the last call to <function>mysqli_connect</function>, if it failed. - zero means no error occurred. + Un código de error para la última llamada a <function>mysqli_connect</function>, + si ésta falla. + Si no hay error entonces se regresa Cero. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_connect_error</function>, @@ -43,10 +49,10 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>mysqli_connect_errno sample</title> + <title>mysqli_connect_errno</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.3 Fri Feb 20 06:10:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml Tue Mar 16 10:26:37 2004 @@ -1,33 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect-error"> <refnamediv> <refname>mysqli_connect_error</refname> - <refpurpose>Returns a string description of the last connect error</refpurpose> + <refpurpose>Regresa una descripción del último error de la + conexión</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> - <type>string</type><methodname>mysqli_connect_error</methodname> + <type>cadena</type><methodname>mysqli_connect_error</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_connect_error</function> function is identical to the corresponding - <function>mysqli_connect_errno</function> function in every way, except instead of returning - an integer error code the <function>mysqli_connect_error</function> function will return - a string representation of the last error to occur for the last - <function>mysqli_connect</function> call. - If no error has occured, this function will return an empty string. + La función <function>mysqli_connect_error</function> es identica a + la función <function>mysqli_connect_errno</function>, excepto en que + en vez de regresar el número del código de error, la función + <function>mysqli_connect_error</function> regresará el mensaje de error + correspondiente a la última llamada a la función <function>mysqli_connect</function>. + Si no ha ocurrido error, está función regresará una cadena + vacía. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_connect_errno</function>, @@ -37,10 +41,10 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>mysqli_connect_error sample</title> + <title>mysqli_connect_error</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.13 phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.14 --- phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.13 Thu Mar 11 09:23:06 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect.xml Tue Mar 16 10:26:37 2004 @@ -1,80 +1,90 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect"> <refnamediv> <refname>mysqli_connect</refname> <refname>mysqli()</refname> - <refpurpose>Open a new connection to the MySQL server</refpurpose> + <refpurpose>Abre una nueva conexión al servidor MySQL</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style</para> + <title>Descripción</title> + <para>Estilo por procedimientos</para> <methodsynopsis> - <type>object</type><methodname>mysqli_connect</methodname> - <methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam> + <type>objeto</type><methodname>mysqli_connect</methodname> + <methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitrión</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>base_de_datos</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>puerto</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>socket</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (constructor):</para> + <para>Estilo orientado a objetos (constructor):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <constructorsynopsis> <methodname>__construct</methodname> - <methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitrión</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>base_de_datos</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>puerto</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>socket</parameter></methodparam> </constructorsynopsis> </classsynopsis> <para> - The <function>mysqli_connect</function> function attempts to open a connection to the MySQL Server - running on <parameter>host</parameter> 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 <function>mysqli_connect</function> - will return an object representing the connection to the database, or &false; on failure. - </para> - <para> - The <parameter>username</parameter> and <parameter>password</parameter> 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). - </para> - <para> - The <parameter>dbname</parameter> parameter if provided will specify the default database to be - used when performing queries. - </para> - <para> - The <parameter>port</parameter> and <parameter>socket</parameter> parameters are used in - conjunction with the <parameter>host</parameter> parameter to further control how to connect - to the database server. The <parameter>port</parameter> parameter specifies the port number to - attempt to connect to the MySQL server on, while the <parameter>socket</parameter> parameter - specifies the socket or named pipe that should be used. + La función <function>mysqli_connect</function> intenta abrir una conexión + al servidor MySQL que se está ejecutando en <parameter>equipo_afitrión</parameter> + 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 <function>mysqli_connect</function> + regresará un objeto representando la conexión a la base de datos, + o &false; en caso contrario. + </para> + <para> + En los parámetros <parameter>usuario</parameter> y <parameter>contraseña</parameter> + 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). + </para> + <para> + Si se específica el parámetro <parameter>base_de_datos</parameter> + especificará la base de datos a usar por defecto cuando se ejecuten + consultas. + </para> + <para> + Los parámetros <parameter>puerto</parameter> y <parameter>socket</parameter> + son usados junto con el parámetro <parameter>equipo_anfitrión</parameter> + para controla a futuro como conectar al servidor de base de datos. + El parámetro <parameter>puerto</parameter> específica el número + de puerto al que se intenta conectar en el servidor MySQL, mientras que el + parámetro <parameter>socket</parameter> específica el socket o + la pipa nombrada "pipe" que debe ser usada. </para> <note> <para> - Specifying the <parameter>socket</parameter> 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 <parameter>host</parameter> parameter. + Especificar el parámetro <parameter>socket</parameter> no determina + explícitamente el tipo de conexión a ser usado cuando se conecta + al servidor MySQL. El parámetro <parameter>equipo_anfitrión</parameter> + determina como se hace la conexión a la base de datos MySQL. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -95,7 +105,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -116,7 +126,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.12 phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.13 --- phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.12 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml Tue Mar 16 10:26:37 2004 @@ -1,49 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-data-seek"> <refnamediv> <refname>mysqli_data_seek</refname> <refname>result->data_seek</refname> - <refpurpose>Adjusts the result pointer to an arbitary row in the result</refpurpose> + <refpurpose>Ajusta el apuntador arbitrariamente a una fila en el resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_data_seek</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam><type>int</type><parameter>posición</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>data_seek</methodname> - <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam><type>int</type><parameter>posición</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_data_seek</function> function seeks to an arbitrary result pointer - specified by the <parameter>offset</parameter> in the result set represented by - <parameter>result</parameter>. The <parameter>offset</parameter> parameter must be between - zero and the total number of rows minus one (0..<function>mysqli_num_rows</function> - 1). + La función <function>mysqli_data_seek</function> busca arbitrariamente + apuntar al valor específicado por <parameter>posición</parameter> + en el conjunto resultante representado por <parameter>result</parameter>. + Los valores del parámetro <parameter>posición</parameter> + deben estar entre cero y el total de filas menus uno (0 .. <function>mysqli_num_rows</function> - 1). </para> <note> <para> - This function can only be used with unbuffered results attained from the use of the - <function>mysqli_store_result</function> or <function>mysqli_query</function> functions. + Está función solo puede ser usada con resultados sin almacenamiento + intermedio logrados por el uso de las funciones + <function>mysqli_store_result</function> o <function>mysqli_query</function>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_store_result</function>, <function>mysqli_fetch_row</function>, @@ -51,9 +54,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a onjetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +91,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -124,7 +127,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-debug.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-debug.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.7 Fri Feb 20 09:45:50 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-debug.xml Tue Mar 16 10:26:37 2004 @@ -1,44 +1,46 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-debug"> <refnamediv> <refname>mysqli_debug</refname> - <refpurpose>Performs debugging operations</refpurpose> + <refpurpose>Realiza operaciones de rastreo de errores</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_debug</methodname> - <methodparam><type>string</type><parameter>debug</parameter></methodparam> + <methodparam><type>cadena</type><parameter>acción</parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_debug</function> function is used to perform debugging - operations using the Fred Fish debugging library. The <parameter>debug</parameter> - parameter is a string representing the debugging operation to perform. + La función <function>mysqli_debug</function> es usada para realizar + operaciones de rastreo y eliminación de errores utilizando la libreria + "Fred Fish". El parámetro <parameter>acción</parameter> + es una cadena que representa las operaciones de rastreo de errores a realizar. </para> <note> <para> - To use the <function>mysqli_debug</function> function you must complile - the MySQL client library to support debugging. + Para usar la funció <function>mysqli_debug</function> se debe compilar + el cliente de MySQL con soporte para rastreo de errores "debugging". </para> </note> </refsect1> <refsect1> - <title>Return values</title> - <para><function>mysqli_debug</function> doesn't return any value.</para> + <title>Valores regresados</title> + <para><function>mysqli_debug</function> no regresa ningún valor.</para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_dump_debug_info</function>, <function>mysqli_report</function> </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>Generating a Trace File</title> + <title>Generar un archivo de rastreo</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.3 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-disable-reads-from-master"> <refnamediv> <refname>mysqli_disable_reads_from_master</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_disable_reads_from_master</methodname> - <methodparam><type>resource</type><parameter>link</parameter></methodparam> + <methodparam><type>int</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.5 phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.6 --- phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.5 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-disable-rpl-parse"> <refnamediv> <refname>mysqli_disable_rpl_parse</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_disable_rpl_parse</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.7 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml Tue Mar 16 10:26:37 2004 @@ -1,31 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-dump-debug-info"> <refnamediv> <refname>mysqli_dump_debug_info</refname> <refname>mysqli->dump_debug_info</refname> - <refpurpose>Dump debugging information into the log</refpurpose> + <refpurpose>Vacía información de rastreo de errores en el log</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>bool</type><methodname>mysqli_dump_debug_info</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> <para> - 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 <parameter>link</parameter> 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 <parameter>identificador_de_enlace</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_debug</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.2 phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.3 --- phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.2 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml Tue Mar 16 10:26:37 2004 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-embedded-connect"> <refnamediv> <refname>mysqli_embedded_connect</refname> - <refpurpose>Open a connection to an embedded mysql server.</refpurpose> + <refpurpose>Abre una conexió a un servidor MySQL embebido.</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>mysqli_embedded_connect</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.6 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-enable-reads-from-master"> <refnamediv> <refname>mysqli_enable_reads_from_master</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_enable_reads_from_master</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.6 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-enable-rpl-parse"> <refnamediv> <refname>mysqli_enable_rpl_parse</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_enable_rpl_parse</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-errno.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-errno.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.8 phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.9 --- phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.8 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-errno.xml Tue Mar 16 10:26:37 2004 @@ -1,46 +1,53 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-errno"> <refnamediv> <refname>mysqli_errno</refname> <refname>mysql->errno</refname> - <refpurpose>Returns the error code for the most recent function call</refpurpose> + <refpurpose>Regresa el código de error para la función más + recientemente llamada</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>int</type><methodname>mysqli_errno</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos (propiedad):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <fieldsynopsis><type>int</type><varname>errno</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_errno</function> 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 <parameter>link</parameter> parameter. If no errors - have occured, this function will return zero. + La función <function>mysqli_errno</function> 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 <parameter>identificador_de_enlace</parameter>. + Si no han ocurrido errores, está función regresará cero. </para> <note> <para> - Client error message numbers are listed in the MySQL <filename>errmsg.h</filename> header file, - server error message numbers are listed in <filename>mysqld_error.h</filename>. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file <filename>Docs/mysqld_error.txt</filename>. + Los números de error del cliente, están listados en el archivo + de MySQL <filename>errmsg.h</filename>. + Los números de error del servidor, están listados en el archivo + de MySQL <filename>mysqld_error.h</filename>. + 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 <filename>Docs/mysqld_error.txt</filename>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect_errno</function>, <function>mysqli_connect_error</function>, @@ -49,9 +56,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -74,7 +81,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -97,7 +104,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-error.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-error.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.10 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-error.xml Tue Mar 16 10:26:37 2004 @@ -1,39 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-error"> <refnamediv> <refname>mysqli_error</refname> - <refpurpose>Returns a string description of the last error</refpurpose> + <refpurpose>Regresa una cadena con la descripció del último error</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>string</type><methodname>mysqli_error</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>cadena</type><methodname>mysqli_error</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property)</para> + <para>Estilo orientado a objetos (propiedad)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> - <fieldsynopsis><type>string</type><varname>error</varname></fieldsynopsis> + <fieldsynopsis><type>cadena</type><varname>error</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_error</function> function is identical to the corresponding - <function>mysqli_errno</function> function in every way, except instead of returning - an integer error code the <function>mysqli_error</function> function will return - a string representation of the last error to occur for the database connection - represented by the <parameter>link</parameter> parameter. If no error has occured, - this function will return an empty string. + La funció <function>mysqli_error</function> es identica a la correspondiente + <function>mysqli_errno</function> en todos los sentidos, excepto en que en + lugar de regresar un valor numérico, la función <function>mysqli_error</function> + regresará un mensaje de error, representando el último error + ocurrido para la conexió de base de datos <parameter>identificador_de_enlace</parameter>. + Si no han ocurrido errores, está función regresará una cadena vacía. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect_errno</function>, <function>mysqli_connect_error</function>, @@ -42,9 +44,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -67,7 +69,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -90,7 +92,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.1 phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.2 --- phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.1 Sun Feb 8 08:14:42 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml Tue Mar 16 10:26:37 2004 @@ -1,14 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.1 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-escape-string"> <refnamediv> <refname>mysqli-escape-string</refname> - <refpurpose>Alias of <function>mysqli_real_escape_string</function></refpurpose> + <refpurpose>Alias de <function>mysqli_real_escape_string</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_real_escape_string</function>. + Esta función es un alias de <function>mysqli_real_escape_string</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-execute.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-execute.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.11 phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.12 --- phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.11 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-execute.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-execute"> <refnamediv> <refname>mysqli_execute</refname> - <refpurpose>Alias for <function>mysqli_stmt_execute</function></refpurpose> + <refpurpose>Alias de <function>mysqli_stmt_execute</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_execute</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_execute</function>. + Para una descipció más detallada vea la descripción de <function>mysqli_stmt_execute</function>. </para> <note> <para> - <function>mysqli_execute</function> is deprecated and will be removed. + <function>mysqli_execute</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_execute</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.12 phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.13 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.12 Fri Mar 12 15:43:06 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml Tue Mar 16 10:26:37 2004 @@ -1,65 +1,72 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-array"> <refnamediv> <refname>mysqli_fetch_array</refname> <refname>result->fetch_array</refname> - <refpurpose>Fetch a result row as an associative, a numeric array, or both.</refpurpose> + <refpurpose>Obtiene una fila como una matriz asociativa, una matriz numérica o ambos.</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_array</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_array</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>tipo_de_resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriend style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_array</methodname> - <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>tipo_de_resultado</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - Returns an array that corresponds to the fetched row or &null; if there are no more rows for the - resultset represented by the <parameter>result</parameter> 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 + <parameter>resultado</parameter>. </para> <para> - <function>mysqli_fetch_array</function> is an extended version of the - <function>mysqli_fetch_row</function> function. In addition to storing the data in the - numeric indices of the result array, the <function>mysqli_fetch_array</function> function can - also store the data in associative indices, using the field names of the result set as keys. + <function>mysqli_fetch_array</function> es una versión mejorada de la función + <function>mysqli_fetch_row</function>. Ademá de almacenar los datos en + índices numéricos de la matriz resultante, la función + <function>mysql_fetch_array</function> también puede almacenar los datos en + índices asociativos, usando los nombre de los campos de el resultado como llaves. </para> &database.field-case; <para> - 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. - </para> - <para> - The optional second argument <parameter>resulttype</parameter> 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 - <function>mysqli_fetch_array</function> function will assume MYSQLI_BOTH for this parameter. - </para> - <para> - By using the MYSQLI_ASSOC constant this function will behave identically to the - <function>mysqli_fetch_assoc</function>, while MYSQLI_NUM will behave identically to the - <function>mysqli_fetch_row</function> function. The final option MYSQLI_BOTH will create a single - array with the attributes of both. + 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. + </para> + <para> + El parámetro opcional <parameter>tipo_de_resultado</parameter> 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 + <function>mysqli_fetch_array</function> asumirá el valor de MYSQLI_BOTH. + </para> + <para> + Al usar la constante MYSQLI_ASSOC, esta función se comportará + identica a la función <function>mysqli_fetch_assoc</function>, mientras + que con MYSQLI_NUM se comportará identica a la función + <function>mysql_fetch_row</function>. La opción final MYSQLI_BOTH + creará una matriz con los atributos de ambos. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_fetch_assoc</function>, <function>mysqli_fetch_row</function>, @@ -67,9 +74,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -106,7 +113,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -143,7 +150,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producián la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.10 Sat Mar 13 04:56:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml Tue Mar 16 10:26:37 2004 @@ -1,54 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-assoc"> <refnamediv> <refname>mysqli_fetch_assoc</refname> <refname>mysqli->fetch_assoc</refname> - <refpurpose>Fetch a result row as an associative array</refpurpose> + <refpurpose>Obtiene una fila del resultado como una matriz asociativa</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>array</type><methodname>mysqli_fetch_assoc</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>matriz</type><methodname>mysqli_fetch_assoc</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriend style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>array</type> + <type>matriz</type> <methodname>fetch_assoc</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - 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. </para> <para> - The <function>mysqli_fetch_assoc</function> function is used to return an associative array - representing the next row in the result set for the result represented by the - <parameter>result</parameter> parameter, where each key in the array represents the name - of one of the result set's columns. + La función <function>mysqli_fetch_assoc</function> es usada para regresar + una representación asociativa de la siguiente fila en el resultado, + representado por el parámetro <parameter>resultado</parameter>, donde + cada llave en la matriz representa el nombre de las columnas en el resultado. </para> <para> - 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 - <function>mysqli_fetch_row</function> 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. </para> &database.field-case; </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_fetch_array</function>, <function>mysqli_fetch_row</function>, @@ -56,9 +57,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -90,7 +91,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -122,7 +123,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.6 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml Tue Mar 16 10:26:37 2004 @@ -1,88 +1,91 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-field-direct"> <refnamediv> <refname>mysqli_fetch_field_direct</refname> <refname>result->fetch_field_direct</refname> <refpurpose> - Fetch meta-data for a single field + Obtiene los metadatos de un campo </refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_field_direct</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>fieldnr</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_field_direct</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam><type>int</type><parameter>indice_de_campo</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_field_direct</methodname> - <methodparam><type>int</type><parameter>fieldnr</parameter></methodparam> + <methodparam><type>int</type><parameter>indice_de_campo</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_fetch_field_direct</function> returns an object which contains - field definition informations from specified resultset. The value of fieldnr must be in the - range from <literal>0</literal> to <literal>number of fields - 1</literal>. + La función <function>mysqli_fetch_field_direct</function> 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 <literal>0</literal> a <literal>número de campos -1</literal>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - Returns an object which contains field definition informations or &false; if no field information - for specified <literal>fieldnr</literal> 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 <literal>indice_de_campo</literal> + específicado. </para> <para> <table> - <title>Object attributes</title> + <title>Atributos del objeto</title> <tgroup cols='2'> <thead> <row> - <entry>Attribute</entry> - <entry>Description</entry> + <entry>Atributo</entry> + <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>name</entry> - <entry>The name of the column</entry> + <entry>Nombre de la columna</entry> </row> <row> <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> + <entry>Nombre original de la columna si se dió un alias</entry> </row> <row> <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> + <entry>Nombre de la tabla a la que pertenece el campo</entry> </row> <row> <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> + <entry>Nombre original de la tabla si se dió un alias</entry> </row> <row> <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> + <entry>El valor por defecto para este campo, representado como una cadena</entry> </row> <row> <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> + <entry>La amplitud máxima de campo de el campo para el resultado</entry> </row> <row> <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> + <entry>Un entero que representa los bit bandera para el campo</entry> </row> <row> <entry>type</entry> - <entry>The data type used for this field</entry> + <entry>Tipo de dato utilizado para este campo</entry> </row> <row> <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> + <entry>Número de decimales usadas (para campos entero)</entry> </row> </tbody> </tgroup> @@ -90,7 +93,7 @@ </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field</function> @@ -98,9 +101,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -135,7 +138,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -170,7 +173,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.10 Tue Mar 16 09:39:22 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml Tue Mar 16 10:26:37 2004 @@ -1,86 +1,88 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-field"> <refnamediv> <refname>mysqli_fetch_field</refname> <refname>result->fetch_field</refname> - <refpurpose>Returns the next field in the result set</refpurpose> + <refpurpose>Regresa metadatos de el campo en el resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_field</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_field</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type><methodname>fetch_field</methodname> - <void/> + <type>mixto</type> + <methodname>fetch_field</methodname> + <void/> </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_fetch_field</function> 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. - <function>mysqli_fetch_field</function> returns &false; when no more fields - are left. + La función <function>mysqli_fetch_field</function> 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. <function>mysqli_fetch_field</function> + regresa &false; cuando no hay más columnas en el resultado. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> <para> <table> - <title>Object attributes</title> + <title>Atributos del objeto</title> <tgroup cols='2'> <thead> <row> - <entry>Attribute</entry> - <entry>Description</entry> + <entry>Atributo</entry> + <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>name</entry> - <entry>The name of the column</entry> + <entry>El nombre de la columna</entry> </row> <row> <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> + <entry>Nombre original de la columna, si se específico un alias</entry> </row> <row> <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> + <entry>El nombre de la tablaa la cuál pertenece</entry> </row> <row> <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> + <entry>Nombre original de la tabla si se específico un alias</entry> </row> <row> <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> + <entry>El valor por defecto de este campo, representado con una cadena</entry> </row> <row> <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> + <entry>La máma amplitud del campo para el resultado</entry> </row> <row> <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> + <entry>Un entero representando los bit de bandera para el campo</entry> </row> <row> <entry>type</entry> - <entry>The data type used for this field</entry> + <entry>El tipo de dato usado para este campo</entry> </row> <row> <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> + <entry>El número de decimales utilizadas (para campos numéricos)</entry> </row> </tbody> </tgroup> @@ -88,7 +90,7 @@ </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field_direct</function> @@ -97,9 +99,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -134,7 +136,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -169,7 +171,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.10 Tue Mar 16 09:39:22 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml Tue Mar 16 10:26:37 2004 @@ -1,95 +1,47 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-fields"> <refnamediv> <refname>mysqli_fetch_fields</refname> <refname>result->fetch_fields</refname> - <refpurpose>Returns an array of objects representing the fields in a result set</refpurpose> + <refpurpose>Regresa una matriz de objetos representando los campos en un + resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural Style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_fields</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_fields</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_fields</methodname> <void/> </methodsynopsis> </classsynopsis> <para> - This function serves an identical purpose to the <function>mysqli_fetch_field</function> - 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 <function>mysqli_fetch_field</function> - function. + Esta función sirve identica en propósito a la función + <function>mysqli-fetch-field</function> 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 + <function>mysqli_fetch_field</function>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - Returns an array of objects which contains field definition informations or &false; if no field information - is available. - </para> - <para> - <table> - <title>Object attributes</title> - <tgroup cols='2'> - <thead> - <row> - <entry>Attribute</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>name</entry> - <entry>The name of the column</entry> - </row> - <row> - <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> - </row> - <row> - <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> - </row> - <row> - <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> - </row> - <row> - <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> - </row> - <row> - <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> - </row> - <row> - <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> - </row> - <row> - <entry>type</entry> - <entry>The data type used for this field</entry> - </row> - <row> - <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> - </row> - </tbody> - </tgroup> - </table> + 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field</function> @@ -97,9 +49,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -135,7 +87,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -171,7 +123,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml Tue Mar 16 10:26:37 2004 @@ -1,46 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-lengths"> <refnamediv> <refname>mysqli_fetch_lengths</refname> <refname>result->lengths</refname> - <refpurpose>Returns the lengths of the columns of the current row in the result set</refpurpose> + <refpurpose>Regresa la longitud de las columnas de la fila actual en el + resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_lengths</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_lengths</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos(propiedad):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> - <fieldsynopsis><type>mixed</type><varname>lengths</varname></fieldsynopsis> + <ooclass><classname>resultado</classname></ooclass> + <fieldsynopsis><type>mixto</type><varname>lengths</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_fetch_lengths</function> function returns an array containing the - lengths of every column of the current row within the result set represented by the - <parameter>result</parameter> parameter. If successful, a numerically indexed array - representing the lengths of each column is returned or &false; on failure. + La función <function>mysqli_fetch_lengths</function> regresa una matriz + conteniendo la longitud de cada columna de la fila actual en el resultado + representado por el parámetro <parameter>result</parameter>. Si hay + información regresa una matriz numéricamente ordenada representando + la longitud de cada columna o &false; si falla. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> <para> - <function>mysql_fetch_lengths</function> 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. + <function>mysql_fetch_lengths</function>Es 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. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -72,7 +76,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -105,7 +109,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.7 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch"> <refnamediv> <refname>mysqli_fetch</refname> - <refpurpose>Alias for <function>mysqli_stmt_fetch</function></refpurpose> + <refpurpose>Alias de <function>mysqli_stmt_fetch</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_fetch</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_fetch</function>. + Para una descripción más detallada vea <function>mysqli_stmt_fetch</function>. </para> <note> <para> - <function>mysqli_fetch</function> is deprecated and will be removed. + <function>mysqli_fetch</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_fetch</function> </para>
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.14 phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.15 --- phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml:1.14 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-affected-rows.xml Tue Mar 16 10:26:37 2004 @@ -1,66 +1,70 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.14 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-affected-rows"> <refnamediv> <refname>mysqli_affected_rows</refname> <refname>mysqli->affected_rows</refname> - <refpurpose>Gets the number of affected rows in a previous MySQL operation</refpurpose> + <refpurpose>Obtiene el número de filas afectadas en una operación + de MySQL previa</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_affected_rows</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>mixto</type><methodname>mysqli_affected_rows</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos (característica):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> - <fieldsynopsis><type>mixed</type><varname>affected_rows</varname></fieldsynopsis> + <fieldsynopsis><type>mixto</type><varname>affected_rows</varname></fieldsynopsis> </classsynopsis> <para> - <function>mysqli_affected_rows</function> returns the number of rows affected by the last - INSERT, UPDATE, or DELETE query associated with the provided <parameter>link</parameter> - parameter. If the last query was invalid, this function will return -1. + <function>mysqli_affected_rows</function> Regresa el número de filas + afectadas por la última consulta INSERT, UPDATE, o DELETE asociada + con el <parameter>identificador_de_enlace</parameter> dado. Si la última + consulta fue invalida, esta función regresará -1. </para> <note> <para> - For SELECT statements <function>mysqli_affected_rows</function> works like - <function>mysqli_num_rows</function>. + Para sentencias SELECT <function>mysqli_affected_rows</function> trabaja + igual a <function>mysqli_num_rows</function>. </para> </note> <para> - The <function>mysqli_affected_rows</function> function only works with queries which modify - a table. In order to return the number of rows from a SELECT query, use the - <function>mysqli_num_rows</function> function instead. + La función <function>mysqli_affected_rows</function> 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 + <function>mysqli_num_rows</function> en su lugar. </para> </refsect1> <refsect1> - <title>Return Values</title> + <title>Valores Regresados</title> <para> - 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. </para> <note> <para> - 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. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_rows</function>, <function>mysqli_info</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -102,7 +106,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -143,7 +147,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.13 phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.14 --- phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml:1.13 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-autocommit.xml Tue Mar 16 10:26:37 2004 @@ -1,61 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-autocommit"> <refnamediv> <refname>mysqli_autocommit</refname> <refname> mysqli->auto_commit</refname> - <refpurpose>Turns on or off auto-commiting database modifications</refpurpose> + <refpurpose>Activa o desactiva la modificación de auto-entrega de + la base de datos</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_autocommit</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> - <methodparam><type>bool</type><parameter>mode</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> + <methodparam><type>bool</type><parameter>modo</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method)</para> + <para>Estilo orientado a objetos (método)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>auto_commit</methodname> - <methodparam><type>bool</type><parameter>mode</parameter></methodparam> + <methodparam><type>bool</type><parameter>modo</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_autocommit</function> is used to turn on or off auto-commit mode - on queries for the database connection represented by the <parameter>link</parameter> - object. + <function>mysqli_autocommit</function> 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 <parameter>identificador_de_enlace</parameter>. </para> <note> <para> - <function>mysqli_autocommit</function> doesn't work with non transactional - table types (like MyISAM or ISAM). + <function>mysqli_autocommit</function> No funciona sobre tablas que no son + del tipo transaccional (como MyISAM o ISAM). </para> <para> - 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'. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores que regresa</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_commit</function>, <function>mysqli_rollback</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -82,7 +84,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -109,7 +111,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.8 phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.9 --- phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml:1.8 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-bind-param.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-bind-param"> <refnamediv> <refname>mysqli_bind_param</refname> - <refpurpose>Alias for <function>mysqli_stmt_bind_param</function></refpurpose> + <refpurpose>Alias para <function>mysqli_stmt_bind_param</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_bind_param</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_bind_param</function>. + Para una descripción detallada vea <function>mysqli_stmt_bind_param</function>. </para> <note> <para> - <function>mysqli_bind_param</function> is deprecated and will be removed. + <function>mysqli_bind_param</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea tambi&eacuite;n</title> <para> <function>mysqli_stmt_bind_param</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.5 phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.6 --- phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml:1.5 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-bind-result.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status; ready --> <refentry id="function.mysqli-bind-result"> <refnamediv> <refname>mysqli_bind_result</refname> - <refpurpose>Alias for <function>mysqli_stmt_bind_result</function></refpurpose> + <refpurpose>Alias para <function>mysqli_stmt_bind_result</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_bind_result</function>. - For a detailled descripton see description of + Esta funció es un alias de <function>mysqli_stmt_bind_result</function>. + Para una descripción detallada vea <function>mysqli_stmt_bind_result</function>. </para> <note> <para> - <function>mysqli_bind_result</function> is deprecated and will be removed. + <function>mysqli_bind_result</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_bind_result</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-change-user.xml Tue Mar 16 10:26:37 2004 @@ -1,74 +1,80 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-change-user"> <refnamediv> <refname>mysqli_change_user</refname> <refname>mysqli->change_user</refname> - <refpurpose>Changes the user of the specified database connection</refpurpose> + <refpurpose>Cambia el usuario de la conexión a la base de datos especificada</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_change_user</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> - <methodparam><type>string</type><parameter>user</parameter></methodparam> - <methodparam><type>string</type><parameter>password</parameter></methodparam> - <methodparam><type>string</type><parameter>database</parameter></methodparam> + <methodparam><type>object</type><parameter>identificador_de_enlace</parameter></methodparam> + <methodparam><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam><type>cadena</type><parameter>base_de_datos</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>change_user</methodname> - <methodparam><type>string</type><parameter>user</parameter></methodparam> - <methodparam><type>string</type><parameter>password</parameter></methodparam> - <methodparam><type>string</type><parameter>database</parameter></methodparam> + <methodparam><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam><type>cadena</type><parameter>contraseńa</parameter></methodparam> + <methodparam><type>cadena</type><parameter>base_de_datos</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_change_user</function> is used to change the user of the specified - database connection as given by the <parameter>link</parameter> parameter and to set the - current database to that specified by the <parameter>database</parameter> parameter. - </para> - <para> - If desired, the &null; value may be passed in place of the <parameter>database</parameter> - parameter resulting in only changing the user and not selecting a database. To select - a database in this case use the <function>mysqli_select_db</function> function. - </para> - <para> - In order to successfully change users a valid <parameter>username</parameter> and - <parameter>password</parameter> 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. + <function>mysqli_change_user</function> Es usada para cambiar el usuario para + la conexión de base de datos indicada por el parámetro + <parameter>identificador_de_enlace</parameter> y para fijar la actual base de datos a la específicada + por el parámetro <parameter>base_de_datos</parameter>. + </para> + <para> + Si se desea, se puede pasar el valor &null; en lugar del parámetro + <parameter>base_de_datos</parameter> 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 <function>mysqli_select_db</function>. + </para> + <para> + Para poder cambiar de usuario de forma exitosa se debe proveer de un + <parameter>usuario</parameter> y <parameter>contraseña</parameter> + 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. </para> <note> <para> - 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. </para> </note> </refsect1> <refsect1> - <title>Return Values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also:</title> + <title>Vea también:</title> <para> <function>mysqli_connect</function> <function>mysqli_select_db</function> </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -109,7 +115,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -149,7 +155,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-character-set-name.xml Tue Mar 16 10:26:37 2004 @@ -1,47 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-character-set-name"> <refnamediv> <refname>mysqli_character_set_name</refname> <refname>mysqli->character_set_name</refname> - <refpurpose>Returns the default character set for the database connection</refpurpose> + <refpurpose>Regresa el conjunto de caracteres determinados por default para + la conexión de base de datos</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedumientos:</para> <methodsynopsis> - <type>string</type><methodname>mysqli_character_set_name</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>cadena</type><methodname>mysqli_character_set_name</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> - <type>string</type> + <type>cadena</type> <methodname>character_set_name</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - Returns the current character set for the database connection specified by the - <parameter>link</parameter> parameter. + Regresa el conjuntos de caracteres actual, determinado para la conexión + de base de datos específicada por el parámetro + <parameter>identificador_de_enlace</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> - <para>The default character set for the current connection</para> + <title>Valores regresados</title> + <para>El conjunto de caracteres por defecto, determinados para la + conexión actual</para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_client_encoding</function>. <function>mysqli_real_escape_string</function>. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -64,7 +68,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +92,7 @@ </programlisting> </example> <para> - The above examples would be produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.2 phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.3 --- phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml:1.2 Fri Feb 20 03:54:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-client-encoding.xml Tue Mar 16 10:26:37 2004 @@ -1,20 +1,21 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-client-encoding"> <refnamediv> <refname>mysqli_client_encoding</refname> - <refpurpose>Alias of <function>mysqli_character_set_name</function></refpurpose> + <refpurpose>Alias de <function>mysqli_character_set_name</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_character_set_name</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_character_set_name</function>. + Para una descripción detallada vea <function>mysqli_character_set_name</function>. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_client_encoding</function>. <function>mysqli_real_escape_string</function>. http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-close.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-close.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-close.xml:1.6 Wed Mar 10 13:49:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-close.xml Tue Mar 16 10:26:37 2004 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-close"> <refnamediv> <refname>mysqli_close</refname> <refname>mysqli->close</refname> - <refpurpose>Closes a previously opened database connection</refpurpose> + <refpurpose>Cierra la conexión de base de datos previamente abierta</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_close</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> @@ -23,18 +24,19 @@ </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_close</function> function closes a previously opened database - connection specified by the <parameter>link</parameter> parameter. + La función <function>mysqli_close</function> cierra una conexión + de base de datos previamente abierta, específicada por el parámetro + <parameter>identificador_de_enlace<parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_init</function>, http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-commit.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-commit.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-commit.xml:1.7 Wed Mar 10 13:49:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-commit.xml Tue Mar 16 10:26:37 2004 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-commit"> <refnamediv> <refname>mysqli_commit</refname> <refname>mysqli->commit</refname> - <refpurpose>Commits the current transaction</refpurpose> + <refpurpose>Completa la transacción actual</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_commit</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method)</para> + <para>Estilo orientado a objetos (método)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <methodsynopsis> @@ -23,28 +24,29 @@ </methodsynopsis> </classsynopsis> <para> - Commits the current transaction for the database connection specified by the - <parameter>link</parameter> parameter. + Entrega la transacción actual para la conexión de base de datos + específicada por el parametro + <parameter>link</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_autocommit</function>, <function>mysqli_rollback</function>. </para> </refsect1> <refsect1> - <title>Examples</title> + <title>Ejemplos</title> <para> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -78,7 +80,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml:1.3 Fri Feb 20 06:10:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect-errno.xml Tue Mar 16 10:26:37 2004 @@ -1,39 +1,45 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect-errno"> <refnamediv> <refname>mysqli_connect_errno</refname> - <refpurpose>Returns the error code from last connect call</refpurpose> + <refpurpose>Regresa el código de error de la última llamada a la conexión</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>mysqli_connect_errno</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_connect_errno</function> function will return the last error code number - for last call to <function>mysqli_connect</function>. - If no errors have occured, this function will return zero. + La función <function>mysqli_connect_errno</function> regresará + el últumo código de error generado por + <function>mysqli_connect</function>. + Si no han ocurrido errores, esta función regresará cero. </para> <note> <para> - Client error message numbers are listed in the MySQL <filename>errmsg.h</filename> header file, - server error message numbers are listed in <filename>mysqld_error.h</filename>. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file <filename>Docs/mysqld_error.txt</filename>. + Los números de error del cliente, están listados en el archivo + de MySQL <filename>errmsg.h</filename>. + Los números de error del servidor, están listados en el archivo + de MySQL <filename>mysqld_error.h</filename>. + 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 <filename>Docs/mysqld_error.txt</filename>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - An error code value for the last call to <function>mysqli_connect</function>, if it failed. - zero means no error occurred. + Un código de error para la última llamada a <function>mysqli_connect</function>, + si ésta falla. + Si no hay error entonces se regresa Cero. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_connect_error</function>, @@ -43,10 +49,10 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>mysqli_connect_errno sample</title> + <title>mysqli_connect_errno</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml:1.3 Fri Feb 20 06:10:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect-error.xml Tue Mar 16 10:26:37 2004 @@ -1,33 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect-error"> <refnamediv> <refname>mysqli_connect_error</refname> - <refpurpose>Returns a string description of the last connect error</refpurpose> + <refpurpose>Regresa una descripción del último error de la + conexión</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> - <type>string</type><methodname>mysqli_connect_error</methodname> + <type>cadena</type><methodname>mysqli_connect_error</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_connect_error</function> function is identical to the corresponding - <function>mysqli_connect_errno</function> function in every way, except instead of returning - an integer error code the <function>mysqli_connect_error</function> function will return - a string representation of the last error to occur for the last - <function>mysqli_connect</function> call. - If no error has occured, this function will return an empty string. + La función <function>mysqli_connect_error</function> es identica a + la función <function>mysqli_connect_errno</function>, excepto en que + en vez de regresar el número del código de error, la función + <function>mysqli_connect_error</function> regresará el mensaje de error + correspondiente a la última llamada a la función <function>mysqli_connect</function>. + Si no ha ocurrido error, está función regresará una cadena + vacía. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect</function>, <function>mysqli_connect_errno</function>, @@ -37,10 +41,10 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>mysqli_connect_error sample</title> + <title>mysqli_connect_error</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-connect.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-connect.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.13 phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.14 --- phpdoc/en/reference/mysqli/functions/mysqli-connect.xml:1.13 Thu Mar 11 09:23:06 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-connect.xml Tue Mar 16 10:26:37 2004 @@ -1,80 +1,90 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-connect"> <refnamediv> <refname>mysqli_connect</refname> <refname>mysqli()</refname> - <refpurpose>Open a new connection to the MySQL server</refpurpose> + <refpurpose>Abre una nueva conexión al servidor MySQL</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style</para> + <title>Descripción</title> + <para>Estilo por procedimientos</para> <methodsynopsis> - <type>object</type><methodname>mysqli_connect</methodname> - <methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam> + <type>objeto</type><methodname>mysqli_connect</methodname> + <methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitrión</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>base_de_datos</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>puerto</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>socket</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (constructor):</para> + <para>Estilo orientado a objetos (constructor):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <constructorsynopsis> <methodname>__construct</methodname> - <methodparam choice='opt'><type>string</type><parameter>host</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>username</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>passwd</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>dbname</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>port</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>socket</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitrión</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>contraseña</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>base_de_datos</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>puerto</parameter></methodparam> + <methodparam choice='opt'><type>cadena</type><parameter>socket</parameter></methodparam> </constructorsynopsis> </classsynopsis> <para> - The <function>mysqli_connect</function> function attempts to open a connection to the MySQL Server - running on <parameter>host</parameter> 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 <function>mysqli_connect</function> - will return an object representing the connection to the database, or &false; on failure. - </para> - <para> - The <parameter>username</parameter> and <parameter>password</parameter> 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). - </para> - <para> - The <parameter>dbname</parameter> parameter if provided will specify the default database to be - used when performing queries. - </para> - <para> - The <parameter>port</parameter> and <parameter>socket</parameter> parameters are used in - conjunction with the <parameter>host</parameter> parameter to further control how to connect - to the database server. The <parameter>port</parameter> parameter specifies the port number to - attempt to connect to the MySQL server on, while the <parameter>socket</parameter> parameter - specifies the socket or named pipe that should be used. + La función <function>mysqli_connect</function> intenta abrir una conexión + al servidor MySQL que se está ejecutando en <parameter>equipo_afitrión</parameter> + 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 <function>mysqli_connect</function> + regresará un objeto representando la conexión a la base de datos, + o &false; en caso contrario. + </para> + <para> + En los parámetros <parameter>usuario</parameter> y <parameter>contraseña</parameter> + 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). + </para> + <para> + Si se específica el parámetro <parameter>base_de_datos</parameter> + especificará la base de datos a usar por defecto cuando se ejecuten + consultas. + </para> + <para> + Los parámetros <parameter>puerto</parameter> y <parameter>socket</parameter> + son usados junto con el parámetro <parameter>equipo_anfitrión</parameter> + para controla a futuro como conectar al servidor de base de datos. + El parámetro <parameter>puerto</parameter> específica el número + de puerto al que se intenta conectar en el servidor MySQL, mientras que el + parámetro <parameter>socket</parameter> específica el socket o + la pipa nombrada "pipe" que debe ser usada. </para> <note> <para> - Specifying the <parameter>socket</parameter> 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 <parameter>host</parameter> parameter. + Especificar el parámetro <parameter>socket</parameter> no determina + explícitamente el tipo de conexión a ser usado cuando se conecta + al servidor MySQL. El parámetro <parameter>equipo_anfitrión</parameter> + determina como se hace la conexión a la base de datos MySQL. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -95,7 +105,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -116,7 +126,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.12 phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.13 --- phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml:1.12 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml Tue Mar 16 10:26:37 2004 @@ -1,49 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-data-seek"> <refnamediv> <refname>mysqli_data_seek</refname> <refname>result->data_seek</refname> - <refpurpose>Adjusts the result pointer to an arbitary row in the result</refpurpose> + <refpurpose>Ajusta el apuntador arbitrariamente a una fila en el resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>bool</type><methodname>mysqli_data_seek</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam><type>int</type><parameter>posición</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> <type>bool</type> <methodname>data_seek</methodname> - <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam><type>int</type><parameter>posición</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_data_seek</function> function seeks to an arbitrary result pointer - specified by the <parameter>offset</parameter> in the result set represented by - <parameter>result</parameter>. The <parameter>offset</parameter> parameter must be between - zero and the total number of rows minus one (0..<function>mysqli_num_rows</function> - 1). + La función <function>mysqli_data_seek</function> busca arbitrariamente + apuntar al valor específicado por <parameter>posición</parameter> + en el conjunto resultante representado por <parameter>result</parameter>. + Los valores del parámetro <parameter>posición</parameter> + deben estar entre cero y el total de filas menus uno (0 .. <function>mysqli_num_rows</function> - 1). </para> <note> <para> - This function can only be used with unbuffered results attained from the use of the - <function>mysqli_store_result</function> or <function>mysqli_query</function> functions. + Está función solo puede ser usada con resultados sin almacenamiento + intermedio logrados por el uso de las funciones + <function>mysqli_store_result</function> o <function>mysqli_query</function>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_store_result</function>, <function>mysqli_fetch_row</function>, @@ -51,9 +54,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a onjetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -88,7 +91,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -124,7 +127,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-debug.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-debug.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-debug.xml:1.7 Fri Feb 20 09:45:50 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-debug.xml Tue Mar 16 10:26:37 2004 @@ -1,44 +1,46 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-debug"> <refnamediv> <refname>mysqli_debug</refname> - <refpurpose>Performs debugging operations</refpurpose> + <refpurpose>Realiza operaciones de rastreo de errores</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_debug</methodname> - <methodparam><type>string</type><parameter>debug</parameter></methodparam> + <methodparam><type>cadena</type><parameter>acción</parameter></methodparam> </methodsynopsis> <para> - The <function>mysqli_debug</function> function is used to perform debugging - operations using the Fred Fish debugging library. The <parameter>debug</parameter> - parameter is a string representing the debugging operation to perform. + La función <function>mysqli_debug</function> es usada para realizar + operaciones de rastreo y eliminación de errores utilizando la libreria + "Fred Fish". El parámetro <parameter>acción</parameter> + es una cadena que representa las operaciones de rastreo de errores a realizar. </para> <note> <para> - To use the <function>mysqli_debug</function> function you must complile - the MySQL client library to support debugging. + Para usar la funció <function>mysqli_debug</function> se debe compilar + el cliente de MySQL con soporte para rastreo de errores "debugging". </para> </note> </refsect1> <refsect1> - <title>Return values</title> - <para><function>mysqli_debug</function> doesn't return any value.</para> + <title>Valores regresados</title> + <para><function>mysqli_debug</function> no regresa ningún valor.</para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_dump_debug_info</function>, <function>mysqli_report</function> </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplo</title> <para> <example> - <title>Generating a Trace File</title> + <title>Generar un archivo de rastreo</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.3 phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.4 --- phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml:1.3 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-disable-reads-from-master.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-disable-reads-from-master"> <refnamediv> <refname>mysqli_disable_reads_from_master</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_disable_reads_from_master</methodname> - <methodparam><type>resource</type><parameter>link</parameter></methodparam> + <methodparam><type>int</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.5 phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.6 --- phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml:1.5 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-disable-rpl-parse.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-disable-rpl-parse"> <refnamediv> <refname>mysqli_disable_rpl_parse</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_disable_rpl_parse</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml:1.7 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-dump-debug-info.xml Tue Mar 16 10:26:37 2004 @@ -1,31 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-dump-debug-info"> <refnamediv> <refname>mysqli_dump_debug_info</refname> <refname>mysqli->dump_debug_info</refname> - <refpurpose>Dump debugging information into the log</refpurpose> + <refpurpose>Vacía información de rastreo de errores en el log</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>bool</type><methodname>mysqli_dump_debug_info</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> <para> - 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 <parameter>link</parameter> 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 <parameter>identificador_de_enlace</parameter>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> &return.success; </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_debug</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.2 phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.3 --- phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml:1.2 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-embedded-connect.xml Tue Mar 16 10:26:37 2004 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-embedded-connect"> <refnamediv> <refname>mysqli_embedded_connect</refname> - <refpurpose>Open a connection to an embedded mysql server.</refpurpose> + <refpurpose>Abre una conexió a un servidor MySQL embebido.</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>object</type><methodname>mysqli_embedded_connect</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml:1.6 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-enable-reads-from-master.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-enable-reads-from-master"> <refnamediv> <refname>mysqli_enable_reads_from_master</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_enable_reads_from_master</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml:1.6 Fri Feb 20 08:05:10 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-enable-rpl-parse.xml Tue Mar 16 10:26:37 2004 @@ -1,15 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-enable-rpl-parse"> <refnamediv> <refname>mysqli_enable_rpl_parse</refname> <refpurpose></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <methodsynopsis> <type>void</type><methodname>mysqli_enable_rpl_parse</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> &warn.experimental.func; http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-errno.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-errno.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.8 phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.9 --- phpdoc/en/reference/mysqli/functions/mysqli-errno.xml:1.8 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-errno.xml Tue Mar 16 10:26:37 2004 @@ -1,46 +1,53 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-errno"> <refnamediv> <refname>mysqli_errno</refname> <refname>mysql->errno</refname> - <refpurpose>Returns the error code for the most recent function call</refpurpose> + <refpurpose>Regresa el código de error para la función más + recientemente llamada</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> <type>int</type><methodname>mysqli_errno</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos (propiedad):</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> <fieldsynopsis><type>int</type><varname>errno</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_errno</function> 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 <parameter>link</parameter> parameter. If no errors - have occured, this function will return zero. + La función <function>mysqli_errno</function> 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 <parameter>identificador_de_enlace</parameter>. + Si no han ocurrido errores, está función regresará cero. </para> <note> <para> - Client error message numbers are listed in the MySQL <filename>errmsg.h</filename> header file, - server error message numbers are listed in <filename>mysqld_error.h</filename>. - In the MySQL source distribution you can find a complete list of error messages and error numbers - in the file <filename>Docs/mysqld_error.txt</filename>. + Los números de error del cliente, están listados en el archivo + de MySQL <filename>errmsg.h</filename>. + Los números de error del servidor, están listados en el archivo + de MySQL <filename>mysqld_error.h</filename>. + 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 <filename>Docs/mysqld_error.txt</filename>. </para> </note> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect_errno</function>, <function>mysqli_connect_error</function>, @@ -49,9 +56,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -74,7 +81,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -97,7 +104,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-error.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-error.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-error.xml:1.10 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-error.xml Tue Mar 16 10:26:37 2004 @@ -1,39 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-error"> <refnamediv> <refname>mysqli_error</refname> - <refpurpose>Returns a string description of the last error</refpurpose> + <refpurpose>Regresa una cadena con la descripció del último error</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>string</type><methodname>mysqli_error</methodname> - <methodparam><type>object</type><parameter>link</parameter></methodparam> + <type>cadena</type><methodname>mysqli_error</methodname> + <methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property)</para> + <para>Estilo orientado a objetos (propiedad)</para> <classsynopsis> <ooclass><classname>mysqli</classname></ooclass> - <fieldsynopsis><type>string</type><varname>error</varname></fieldsynopsis> + <fieldsynopsis><type>cadena</type><varname>error</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_error</function> function is identical to the corresponding - <function>mysqli_errno</function> function in every way, except instead of returning - an integer error code the <function>mysqli_error</function> function will return - a string representation of the last error to occur for the database connection - represented by the <parameter>link</parameter> parameter. If no error has occured, - this function will return an empty string. + La funció <function>mysqli_error</function> es identica a la correspondiente + <function>mysqli_errno</function> en todos los sentidos, excepto en que en + lugar de regresar un valor numérico, la función <function>mysqli_error</function> + regresará un mensaje de error, representando el último error + ocurrido para la conexió de base de datos <parameter>identificador_de_enlace</parameter>. + Si no han ocurrido errores, está función regresará una cadena vacía. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_connect_errno</function>, <function>mysqli_connect_error</function>, @@ -42,9 +44,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -67,7 +69,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -90,7 +92,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.1 phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.2 --- phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml:1.1 Sun Feb 8 08:14:42 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-escape-string.xml Tue Mar 16 10:26:37 2004 @@ -1,14 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.1 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-escape-string"> <refnamediv> <refname>mysqli-escape-string</refname> - <refpurpose>Alias of <function>mysqli_real_escape_string</function></refpurpose> + <refpurpose>Alias de <function>mysqli_real_escape_string</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_real_escape_string</function>. + Esta función es un alias de <function>mysqli_real_escape_string</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-execute.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-execute.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.11 phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.12 --- phpdoc/en/reference/mysqli/functions/mysqli-execute.xml:1.11 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-execute.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-execute"> <refnamediv> <refname>mysqli_execute</refname> - <refpurpose>Alias for <function>mysqli_stmt_execute</function></refpurpose> + <refpurpose>Alias de <function>mysqli_stmt_execute</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_execute</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_execute</function>. + Para una descipció más detallada vea la descripción de <function>mysqli_stmt_execute</function>. </para> <note> <para> - <function>mysqli_execute</function> is deprecated and will be removed. + <function>mysqli_execute</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_execute</function> </para> http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.12 phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.13 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.12 Fri Mar 12 15:43:06 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml Tue Mar 16 10:26:37 2004 @@ -1,65 +1,72 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-array"> <refnamediv> <refname>mysqli_fetch_array</refname> <refname>result->fetch_array</refname> - <refpurpose>Fetch a result row as an associative, a numeric array, or both.</refpurpose> + <refpurpose>Obtiene una fila como una matriz asociativa, una matriz numérica o ambos.</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_array</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_array</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>tipo_de_resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriend style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_array</methodname> - <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>tipo_de_resultado</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - Returns an array that corresponds to the fetched row or &null; if there are no more rows for the - resultset represented by the <parameter>result</parameter> 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 + <parameter>resultado</parameter>. </para> <para> - <function>mysqli_fetch_array</function> is an extended version of the - <function>mysqli_fetch_row</function> function. In addition to storing the data in the - numeric indices of the result array, the <function>mysqli_fetch_array</function> function can - also store the data in associative indices, using the field names of the result set as keys. + <function>mysqli_fetch_array</function> es una versión mejorada de la función + <function>mysqli_fetch_row</function>. Ademá de almacenar los datos en + índices numéricos de la matriz resultante, la función + <function>mysql_fetch_array</function> también puede almacenar los datos en + índices asociativos, usando los nombre de los campos de el resultado como llaves. </para> &database.field-case; <para> - 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. - </para> - <para> - The optional second argument <parameter>resulttype</parameter> 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 - <function>mysqli_fetch_array</function> function will assume MYSQLI_BOTH for this parameter. - </para> - <para> - By using the MYSQLI_ASSOC constant this function will behave identically to the - <function>mysqli_fetch_assoc</function>, while MYSQLI_NUM will behave identically to the - <function>mysqli_fetch_row</function> function. The final option MYSQLI_BOTH will create a single - array with the attributes of both. + 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. + </para> + <para> + El parámetro opcional <parameter>tipo_de_resultado</parameter> 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 + <function>mysqli_fetch_array</function> asumirá el valor de MYSQLI_BOTH. + </para> + <para> + Al usar la constante MYSQLI_ASSOC, esta función se comportará + identica a la función <function>mysqli_fetch_assoc</function>, mientras + que con MYSQLI_NUM se comportará identica a la función + <function>mysql_fetch_row</function>. La opción final MYSQLI_BOTH + creará una matriz con los atributos de ambos. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_fetch_assoc</function>, <function>mysqli_fetch_row</function>, @@ -67,9 +74,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -106,7 +113,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -143,7 +150,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producián la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.10 Sat Mar 13 04:56:11 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-assoc.xml Tue Mar 16 10:26:37 2004 @@ -1,54 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-assoc"> <refnamediv> <refname>mysqli_fetch_assoc</refname> <refname>mysqli->fetch_assoc</refname> - <refpurpose>Fetch a result row as an associative array</refpurpose> + <refpurpose>Obtiene una fila del resultado como una matriz asociativa</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>array</type><methodname>mysqli_fetch_assoc</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>matriz</type><methodname>mysqli_fetch_assoc</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriend style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>array</type> + <type>matriz</type> <methodname>fetch_assoc</methodname> <methodparam><type>void</type><parameter></parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - 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. </para> <para> - The <function>mysqli_fetch_assoc</function> function is used to return an associative array - representing the next row in the result set for the result represented by the - <parameter>result</parameter> parameter, where each key in the array represents the name - of one of the result set's columns. + La función <function>mysqli_fetch_assoc</function> es usada para regresar + una representación asociativa de la siguiente fila en el resultado, + representado por el parámetro <parameter>resultado</parameter>, donde + cada llave en la matriz representa el nombre de las columnas en el resultado. </para> <para> - 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 - <function>mysqli_fetch_row</function> 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. </para> &database.field-case; </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_fetch_array</function>, <function>mysqli_fetch_row</function>, @@ -56,9 +57,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -90,7 +91,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -122,7 +123,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.6 phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.7 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml:1.6 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-field-direct.xml Tue Mar 16 10:26:37 2004 @@ -1,88 +1,91 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-field-direct"> <refnamediv> <refname>mysqli_fetch_field_direct</refname> <refname>result->fetch_field_direct</refname> <refpurpose> - Fetch meta-data for a single field + Obtiene los metadatos de un campo </refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_field_direct</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>fieldnr</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_field_direct</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> + <methodparam><type>int</type><parameter>indice_de_campo</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_field_direct</methodname> - <methodparam><type>int</type><parameter>fieldnr</parameter></methodparam> + <methodparam><type>int</type><parameter>indice_de_campo</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> - <function>mysqli_fetch_field_direct</function> returns an object which contains - field definition informations from specified resultset. The value of fieldnr must be in the - range from <literal>0</literal> to <literal>number of fields - 1</literal>. + La función <function>mysqli_fetch_field_direct</function> 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 <literal>0</literal> a <literal>número de campos -1</literal>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - Returns an object which contains field definition informations or &false; if no field information - for specified <literal>fieldnr</literal> 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 <literal>indice_de_campo</literal> + específicado. </para> <para> <table> - <title>Object attributes</title> + <title>Atributos del objeto</title> <tgroup cols='2'> <thead> <row> - <entry>Attribute</entry> - <entry>Description</entry> + <entry>Atributo</entry> + <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>name</entry> - <entry>The name of the column</entry> + <entry>Nombre de la columna</entry> </row> <row> <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> + <entry>Nombre original de la columna si se dió un alias</entry> </row> <row> <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> + <entry>Nombre de la tabla a la que pertenece el campo</entry> </row> <row> <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> + <entry>Nombre original de la tabla si se dió un alias</entry> </row> <row> <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> + <entry>El valor por defecto para este campo, representado como una cadena</entry> </row> <row> <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> + <entry>La amplitud máxima de campo de el campo para el resultado</entry> </row> <row> <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> + <entry>Un entero que representa los bit bandera para el campo</entry> </row> <row> <entry>type</entry> - <entry>The data type used for this field</entry> + <entry>Tipo de dato utilizado para este campo</entry> </row> <row> <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> + <entry>Número de decimales usadas (para campos entero)</entry> </row> </tbody> </tgroup> @@ -90,7 +93,7 @@ </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field</function> @@ -98,9 +101,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -135,7 +138,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -170,7 +173,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml:1.10 Tue Mar 16 09:39:22 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-field.xml Tue Mar 16 10:26:37 2004 @@ -1,86 +1,88 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-field"> <refnamediv> <refname>mysqli_fetch_field</refname> <refname>result->fetch_field</refname> - <refpurpose>Returns the next field in the result set</refpurpose> + <refpurpose>Regresa metadatos de el campo en el resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_field</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_field</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type><methodname>fetch_field</methodname> - <void/> + <type>mixto</type> + <methodname>fetch_field</methodname> + <void/> </methodsynopsis> </classsynopsis> <para> - The <function>mysqli_fetch_field</function> 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. - <function>mysqli_fetch_field</function> returns &false; when no more fields - are left. + La función <function>mysqli_fetch_field</function> 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. <function>mysqli_fetch_field</function> + regresa &false; cuando no hay más columnas en el resultado. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> <para> <table> - <title>Object attributes</title> + <title>Atributos del objeto</title> <tgroup cols='2'> <thead> <row> - <entry>Attribute</entry> - <entry>Description</entry> + <entry>Atributo</entry> + <entry>Descripción</entry> </row> </thead> <tbody> <row> <entry>name</entry> - <entry>The name of the column</entry> + <entry>El nombre de la columna</entry> </row> <row> <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> + <entry>Nombre original de la columna, si se específico un alias</entry> </row> <row> <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> + <entry>El nombre de la tablaa la cuál pertenece</entry> </row> <row> <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> + <entry>Nombre original de la tabla si se específico un alias</entry> </row> <row> <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> + <entry>El valor por defecto de este campo, representado con una cadena</entry> </row> <row> <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> + <entry>La máma amplitud del campo para el resultado</entry> </row> <row> <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> + <entry>Un entero representando los bit de bandera para el campo</entry> </row> <row> <entry>type</entry> - <entry>The data type used for this field</entry> + <entry>El tipo de dato usado para este campo</entry> </row> <row> <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> + <entry>El número de decimales utilizadas (para campos numéricos)</entry> </row> </tbody> </tgroup> @@ -88,7 +90,7 @@ </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field_direct</function> @@ -97,9 +99,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -134,7 +136,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -169,7 +171,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.10 phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.11 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml:1.10 Tue Mar 16 09:39:22 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-fields.xml Tue Mar 16 10:26:37 2004 @@ -1,95 +1,47 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-fields"> <refnamediv> <refname>mysqli_fetch_fields</refname> <refname>result->fetch_fields</refname> - <refpurpose>Returns an array of objects representing the fields in a result set</refpurpose> + <refpurpose>Regresa una matriz de objetos representando los campos en un + resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural Style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_fields</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_fields</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (method):</para> + <para>Estilo orientado a objetos (método):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> + <ooclass><classname>resultado</classname></ooclass> <methodsynopsis> - <type>mixed</type> + <type>mixto</type> <methodname>fetch_fields</methodname> <void/> </methodsynopsis> </classsynopsis> <para> - This function serves an identical purpose to the <function>mysqli_fetch_field</function> - 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 <function>mysqli_fetch_field</function> - function. + Esta función sirve identica en propósito a la función + <function>mysqli-fetch-field</function> 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 + <function>mysqli_fetch_field</function>. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - Returns an array of objects which contains field definition informations or &false; if no field information - is available. - </para> - <para> - <table> - <title>Object attributes</title> - <tgroup cols='2'> - <thead> - <row> - <entry>Attribute</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>name</entry> - <entry>The name of the column</entry> - </row> - <row> - <entry>orgname</entry> - <entry>Original column name if an alias was specified</entry> - </row> - <row> - <entry>table</entry> - <entry>The name of the table this field belongs to (if not calculated)</entry> - </row> - <row> - <entry>orgtable</entry> - <entry>Original table name if an alias was specified</entry> - </row> - <row> - <entry>def</entry> - <entry>The default value for this field, represented as a string</entry> - </row> - <row> - <entry>max_length</entry> - <entry>The maximum width of the field for the result set.</entry> - </row> - <row> - <entry>flags</entry> - <entry>An integer representing the bit-flags for the field.</entry> - </row> - <row> - <entry>type</entry> - <entry>The data type used for this field</entry> - </row> - <row> - <entry>decimals</entry> - <entry>The number of decimals used (for integer fields)</entry> - </row> - </tbody> - </tgroup> - </table> + 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. </para> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_num_fields</function> <function>mysqli_fetch_field</function> @@ -97,9 +49,9 @@ </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -135,7 +87,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -171,7 +123,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml:1.9 Wed Feb 25 16:59:16 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-lengths.xml Tue Mar 16 10:26:37 2004 @@ -1,46 +1,50 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch-lengths"> <refnamediv> <refname>mysqli_fetch_lengths</refname> <refname>result->lengths</refname> - <refpurpose>Returns the lengths of the columns of the current row in the result set</refpurpose> + <refpurpose>Regresa la longitud de las columnas de la fila actual en el + resultado</refpurpose> </refnamediv> <refsect1> - <title>Description</title> - <para>Procedural style:</para> + <title>Descripción</title> + <para>Estilo por procedimientos:</para> <methodsynopsis> - <type>mixed</type><methodname>mysqli_fetch_lengths</methodname> - <methodparam><type>object</type><parameter>result</parameter></methodparam> + <type>mixto</type><methodname>mysqli_fetch_lengths</methodname> + <methodparam><type>objeto</type><parameter>resultado</parameter></methodparam> </methodsynopsis> - <para>Object oriented style (property):</para> + <para>Estilo orientado a objetos(propiedad):</para> <classsynopsis> - <ooclass><classname>result</classname></ooclass> - <fieldsynopsis><type>mixed</type><varname>lengths</varname></fieldsynopsis> + <ooclass><classname>resultado</classname></ooclass> + <fieldsynopsis><type>mixto</type><varname>lengths</varname></fieldsynopsis> </classsynopsis> <para> - The <function>mysqli_fetch_lengths</function> function returns an array containing the - lengths of every column of the current row within the result set represented by the - <parameter>result</parameter> parameter. If successful, a numerically indexed array - representing the lengths of each column is returned or &false; on failure. + La función <function>mysqli_fetch_lengths</function> regresa una matriz + conteniendo la longitud de cada columna de la fila actual en el resultado + representado por el parámetro <parameter>result</parameter>. Si hay + información regresa una matriz numéricamente ordenada representando + la longitud de cada columna o &false; si falla. </para> </refsect1> <refsect1> - <title>Return values</title> + <title>Valores regresados</title> <para> - 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. </para> <para> - <function>mysql_fetch_lengths</function> 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. + <function>mysql_fetch_lengths</function>Es 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. </para> </refsect1> <refsect1> - <title>Example</title> + <title>Ejemplos</title> <example> - <title>Object oriented style</title> + <title>Estilo orientado a objetos</title> <programlisting role="php"> <![CDATA[ <?php @@ -72,7 +76,7 @@ </programlisting> </example> <example> - <title>Procedural style</title> + <title>Estilo por procedimientos</title> <programlisting role="php"> <![CDATA[ <?php @@ -105,7 +109,7 @@ </programlisting> </example> <para> - The above examples would produce the following output: + Los ejemplos anteriores producirán la siguiente salida: </para> <screen> <![CDATA[ http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.7 phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.8 --- phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml:1.7 Tue Mar 9 12:21:48 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-fetch.xml Tue Mar 16 10:26:37 2004 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <refentry id="function.mysqli-fetch"> <refnamediv> <refname>mysqli_fetch</refname> - <refpurpose>Alias for <function>mysqli_stmt_fetch</function></refpurpose> + <refpurpose>Alias de <function>mysqli_stmt_fetch</function></refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descripción</title> <para> - This function is an alias of <function>mysqli_stmt_fetch</function>. - For a detailled descripton see description of + Esta función es un alias de <function>mysqli_stmt_fetch</function>. + Para una descripción más detallada vea <function>mysqli_stmt_fetch</function>. </para> <note> <para> - <function>mysqli_fetch</function> is deprecated and will be removed. + <function>mysqli_fetch</function> es obsoleta y será removida. </para> </note> </refsect1> <refsect1> - <title>See also</title> + <title>Vea también</title> <para> <function>mysqli_stmt_fetch</function> </para>