reverting

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153795 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-03-16 15:36:17 +00:00
parent 038005e811
commit a5146131c6
31 changed files with 562 additions and 598 deletions

View file

@ -1,70 +1,66 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.15 $ -->
<!-- EN-Revision: 1.14 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.16 $ -->
<refentry id="function.mysqli-affected-rows">
<refnamediv>
<refname>mysqli_affected_rows</refname>
<refname>mysqli->affected_rows</refname>
<refpurpose>Obtiene el n&uacute;mero de filas afectadas en una operaci&oacute;n
de MySQL previa</refpurpose>
<refpurpose>Gets the number of affected rows in a previous MySQL operation</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>mixto</type><methodname>mysqli_affected_rows</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<type>mixed</type><methodname>mysqli_affected_rows</methodname>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (caracter&iacute;stica):</para>
<para>Object oriented style (property):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>mixto</type><varname>affected_rows</varname></fieldsynopsis>
<fieldsynopsis><type>mixed</type><varname>affected_rows</varname></fieldsynopsis>
</classsynopsis>
<para>
<function>mysqli_affected_rows</function> Regresa el n&uacute;mero de filas
afectadas por la &uacute;ltima consulta INSERT, UPDATE, o DELETE asociada
con el <parameter>identificador_de_enlace</parameter> dado. Si la &uacute;ltima
consulta fue invalida, esta funci&oacute;n regresar&aacute; -1.
<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.
</para>
<note>
<para>
Para sentencias SELECT <function>mysqli_affected_rows</function> trabaja
igual a <function>mysqli_num_rows</function>.
For SELECT statements <function>mysqli_affected_rows</function> works like
<function>mysqli_num_rows</function>.
</para>
</note>
<para>
La funci&oacute;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&uacute;mero de filas de una consulta SELECT, use la funci&oacute;n
<function>mysqli_num_rows</function> en su lugar.
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.
</para>
</refsect1>
<refsect1>
<title>Valores Regresados</title>
<title>Return Values</title>
<para>
Un entero mayor a cero indica el n&uacute;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&uacute;n ninguna consulta. -1 indica que la consulta regreso un error.
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.
</para>
<note>
<para>
Si el n&uacute;mero de filas afectadas es mayor que el valor entero m&aacute;ximo,
entonces el n&uacute;mero de filas afectadas ser&aacute; regresado como una cadena.
If the number of affected rows is greater than maximal int value, the number of affected rows
will be returned as a string.
</para>
</note>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_num_rows</function>,
<function>mysqli_info</function>.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -106,7 +102,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -147,7 +143,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,63 +1,61 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.15 $ -->
<refentry id="function.mysqli-autocommit">
<refnamediv>
<refname>mysqli_autocommit</refname>
<refname> mysqli->auto_commit</refname>
<refpurpose>Activa o desactiva la modificaci&oacute;n de auto-entrega de
la base de datos</refpurpose>
<refpurpose>Turns on or off auto-commiting database modifications</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_autocommit</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>bool</type><parameter>modo</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
<methodparam><type>bool</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo)</para>
<para>Object oriented style (method)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type>
<methodname>auto_commit</methodname>
<methodparam><type>bool</type><parameter>modo</parameter></methodparam>
<methodparam><type>bool</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
<function>mysqli_autocommit</function> Es usado para cambiar entre on u off
el modo de auto-entrega en las consultas para la conexi&oacute;n a la base
de datos representada por el objeto <parameter>identificador_de_enlace</parameter>.
<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.
</para>
<note>
<para>
<function>mysqli_autocommit</function> No funciona sobre tablas que no son
del tipo transaccional (como MyISAM o ISAM).
<function>mysqli_autocommit</function> doesn't work with non transactional
table types (like MyISAM or ISAM).
</para>
<para>
Para determinar el estado actual de auto-entrega use el comando SQL:
To determine the current state of autocommit use the SQL command
'SELECT @@autocommit'.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores que regresa</title>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_commit</function>,
<function>mysqli_rollback</function>.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -84,7 +82,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -111,7 +109,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,26 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.10 $ -->
<refentry id="function.mysqli-bind-param">
<refnamediv>
<refname>mysqli_bind_param</refname>
<refpurpose>Alias para <function>mysqli_stmt_bind_param</function></refpurpose>
<refpurpose>Alias for <function>mysqli_stmt_bind_param</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute;n es un alias de <function>mysqli_stmt_bind_param</function>.
Para una descripci&oacute;n detallada vea
This function is an alias of <function>mysqli_stmt_bind_param</function>.
For a detailled descripton see description of
<function>mysqli_stmt_bind_param</function>.
</para>
<note>
<para>
<function>mysqli_bind_param</function> es obsoleta y ser&aacute; removida.
<function>mysqli_bind_param</function> is deprecated and will be removed.
</para>
</note>
</refsect1>
<refsect1>
<title>Vea tambi&eacuite;n</title>
<title>See also</title>
<para>
<function>mysqli_stmt_bind_param</function>
</para>

View file

@ -1,26 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- EN-Revision: 1.5 Maintainer: baoengb Status; ready -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.mysqli-bind-result">
<refnamediv>
<refname>mysqli_bind_result</refname>
<refpurpose>Alias para <function>mysqli_stmt_bind_result</function></refpurpose>
<refpurpose>Alias for <function>mysqli_stmt_bind_result</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute es un alias de <function>mysqli_stmt_bind_result</function>.
Para una descripci&oacute;n detallada vea
This function is an alias of <function>mysqli_stmt_bind_result</function>.
For a detailled descripton see description of
<function>mysqli_stmt_bind_result</function>.
</para>
<note>
<para>
<function>mysqli_bind_result</function> es obsoleta y ser&aacute; removida.
<function>mysqli_bind_result</function> is deprecated and will be removed.
</para>
</note>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_stmt_bind_result</function>
</para>

View file

@ -1,80 +1,74 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.11 $ -->
<refentry id="function.mysqli-change-user">
<refnamediv>
<refname>mysqli_change_user</refname>
<refname>mysqli->change_user</refname>
<refpurpose>Cambia el usuario de la conexi&oacute;n a la base de datos especificada</refpurpose>
<refpurpose>Changes the user of the specified database connection</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_change_user</methodname>
<methodparam><type>object</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>cadena</type><parameter>usuario</parameter></methodparam>
<methodparam><type>cadena</type><parameter>contrase&ntilde;a</parameter></methodparam>
<methodparam><type>cadena</type><parameter>base_de_datos</parameter></methodparam>
<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>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type>
<methodname>change_user</methodname>
<methodparam><type>cadena</type><parameter>usuario</parameter></methodparam>
<methodparam><type>cadena</type><parameter>contrase&nacute;a</parameter></methodparam>
<methodparam><type>cadena</type><parameter>base_de_datos</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>
</methodsynopsis>
</classsynopsis>
<para>
<function>mysqli_change_user</function> Es usada para cambiar el usuario para
la conexi&oacute;n de base de datos indicada por el par&aacute;metro
<parameter>identificador_de_enlace</parameter> y para fijar la actual base de datos a la espec&iacute;ficada
por el par&aacute;metro <parameter>base_de_datos</parameter>.
<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>
Si se desea, se puede pasar el valor &null; en lugar del par&aacute;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&oacute;n <function>mysqli_select_db</function>.
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>
Para poder cambiar de usuario de forma exitosa se debe proveer de un
<parameter>usuario</parameter> y <parameter>contrase&ntilde;a</parameter>
validos, y tales par&aacute;metros debe contar con los suficientes permisos
para acceder a la base de datos deseada. Si por cualquier raz&oacute;n la
autorizaci&oacute;n falla, el actual usuario autenticado permanecer&aacute; activo.
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.
</para>
<note>
<para>
El uso de este comando siempre producir&aacute; que la conexi&oacute;n actual
a la base de datos se comporte como si fuera una nueva conexi&oacute;n,
sin importar si la operaci&oacute;n fue completada exitosamente. Este reinicio
implica el hacer la restauraci&oacute;n no actualizada "rollback" de cualquier
transacci&oacute;n activa, cerrar todas las tablas temporales y des-asegurar
todas las tablas aseguradas.
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.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return Values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n:</title>
<title>See also:</title>
<para>
<function>mysqli_connect</function>
<function>mysqli_select_db</function>
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -115,7 +109,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -155,7 +149,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,51 +1,47 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.11 $ -->
<refentry id="function.mysqli-character-set-name">
<refnamediv>
<refname>mysqli_character_set_name</refname>
<refname>mysqli->character_set_name</refname>
<refpurpose>Regresa el conjunto de caracteres determinados por default para
la conexi&oacute;n de base de datos</refpurpose>
<refpurpose>Returns the default character set for the database connection</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedumientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>cadena</type><methodname>mysqli_character_set_name</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<type>string</type><methodname>mysqli_character_set_name</methodname>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>cadena</type>
<type>string</type>
<methodname>character_set_name</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Regresa el conjuntos de caracteres actual, determinado para la conexi&oacute;n
de base de datos espec&iacute;ficada por el par&aacute;metro
<parameter>identificador_de_enlace</parameter>.
Returns the current character set for the database connection specified by the
<parameter>link</parameter> parameter.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<para>El conjunto de caracteres por defecto, determinados para la
conexi&oacute;n actual</para>
<title>Return values</title>
<para>The default character set for the current connection</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_client_encoding</function>.
<function>mysqli_real_escape_string</function>.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -68,7 +64,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -92,7 +88,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would be produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,21 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.mysqli-client-encoding">
<refnamediv>
<refname>mysqli_client_encoding</refname>
<refpurpose>Alias de <function>mysqli_character_set_name</function></refpurpose>
<refpurpose>Alias of <function>mysqli_character_set_name</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute;n es un alias de <function>mysqli_character_set_name</function>.
Para una descripci&oacute;n detallada vea
This function is an alias of <function>mysqli_character_set_name</function>.
For a detailled descripton see description of
<function>mysqli_character_set_name</function>.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_client_encoding</function>.
<function>mysqli_real_escape_string</function>.

View file

@ -1,20 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.mysqli-close">
<refnamediv>
<refname>mysqli_close</refname>
<refname>mysqli->close</refname>
<refpurpose>Cierra la conexi&oacute;n de base de datos previamente abierta</refpurpose>
<refpurpose>Closes a previously opened database connection</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_close</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
@ -24,19 +23,18 @@
</methodsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_close</function> cierra una conexi&oacute;n
de base de datos previamente abierta, espec&iacute;ficada por el par&aacute;metro
<parameter>identificador_de_enlace<parameter>.
The <function>mysqli_close</function> function closes a previously opened database
connection specified by the <parameter>link</parameter> parameter.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_connect</function>,
<function>mysqli_init</function>,

View file

@ -1,20 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.mysqli-commit">
<refnamediv>
<refname>mysqli_commit</refname>
<refname>mysqli->commit</refname>
<refpurpose>Completa la transacci&oacute;n actual</refpurpose>
<refpurpose>Commits the current transaction</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_commit</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo)</para>
<para>Object oriented style (method)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
@ -24,29 +23,28 @@
</methodsynopsis>
</classsynopsis>
<para>
Entrega la transacci&oacute;n actual para la conexi&oacute;n de base de datos
espec&iacute;ficada por el parametro
<parameter>link</parameter>.
Commits the current transaction for the database connection specified by the
<parameter>link</parameter> parameter.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_autocommit</function>,
<function>mysqli_rollback</function>.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Examples</title>
<para>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -80,7 +78,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -1,45 +1,39 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.mysqli-connect-errno">
<refnamediv>
<refname>mysqli_connect_errno</refname>
<refpurpose>Regresa el c&oacute;digo de error de la &uacute;ltima llamada a la conexi&oacute;n</refpurpose>
<refpurpose>Returns the error code from last connect call</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>mysqli_connect_errno</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
La funci&oacute;n <function>mysqli_connect_errno</function> regresar&aacute;
el &uacute;ltumo c&oacute;digo de error generado por
<function>mysqli_connect</function>.
Si no han ocurrido errores, esta funci&oacute;n regresar&aacute; cero.
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.
</para>
<note>
<para>
Los n&uacute;meros de error del cliente, est&aacute;n listados en el archivo
de MySQL <filename>errmsg.h</filename>.
Los n&uacute;meros de error del servidor, est&aacute;n listados en el archivo
de MySQL <filename>mysqld_error.h</filename>.
En la distribuci&oacute;n de las fuentes de MySQL, tu puedes encontrar una
lista completa de los mensajes de error y de los n&uacute;meros de error
en el documento <filename>Docs/mysqld_error.txt</filename>.
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>.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Un c&oacute;digo de error para la &uacute;ltima llamada a <function>mysqli_connect</function>,
si &eacute;sta falla.
Si no hay error entonces se regresa Cero.
An error code value for the last call to <function>mysqli_connect</function>, if it failed.
zero means no error occurred.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_connect</function>,
<function>mysqli_connect_error</function>,
@ -49,10 +43,10 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplo</title>
<title>Example</title>
<para>
<example>
<title>mysqli_connect_errno</title>
<title>mysqli_connect_errno sample</title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -1,37 +1,33 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.mysqli-connect-error">
<refnamediv>
<refname>mysqli_connect_error</refname>
<refpurpose>Regresa una descripci&oacute;n del &uacute;ltimo error de la
conexi&oacute;n</refpurpose>
<refpurpose>Returns a string description of the last connect error</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>cadena</type><methodname>mysqli_connect_error</methodname>
<type>string</type><methodname>mysqli_connect_error</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
<para>
La funci&oacute;n <function>mysqli_connect_error</function> es identica a
la funci&oacute;n <function>mysqli_connect_errno</function>, excepto en que
en vez de regresar el n&uacute;mero del c&oacute;digo de error, la funci&oacute;n
<function>mysqli_connect_error</function> regresar&aacute; el mensaje de error
correspondiente a la &uacute;ltima llamada a la funci&oacute;n <function>mysqli_connect</function>.
Si no ha ocurrido error, est&aacute; funci&oacute;n regresar&aacute; una cadena
vac&iacute;a.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Una cadena que describe el error o una cadena vac&iacute;a si no ha ocurrido
error.
A string that describes the error. An empty string if no error occurred.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_connect</function>,
<function>mysqli_connect_errno</function>,
@ -41,10 +37,10 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplo</title>
<title>Example</title>
<para>
<example>
<title>mysqli_connect_error</title>
<title>mysqli_connect_error sample</title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -1,90 +1,80 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- EN-Revision: 1.13 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.15 $ -->
<refentry id="function.mysqli-connect">
<refnamediv>
<refname>mysqli_connect</refname>
<refname>mysqli()</refname>
<refpurpose>Abre una nueva conexi&oacute;n al servidor MySQL</refpurpose>
<refpurpose>Open a new connection to the MySQL server</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos</para>
<title>Description</title>
<para>Procedural style</para>
<methodsynopsis>
<type>objeto</type><methodname>mysqli_connect</methodname>
<methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitri&oacute;n</parameter></methodparam>
<methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam>
<methodparam choice='opt'><type>cadena</type><parameter>contrase&ntilde;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>
<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>
</methodsynopsis>
<para>Estilo orientado a objetos (constructor):</para>
<para>Object oriented style (constructor):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<constructorsynopsis>
<methodname>__construct</methodname>
<methodparam choice='opt'><type>cadena</type><parameter>equipo_anfitri&oacute;n</parameter></methodparam>
<methodparam choice='opt'><type>cadena</type><parameter>usuario</parameter></methodparam>
<methodparam choice='opt'><type>cadena</type><parameter>contrase&ntilde;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>
<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>
</constructorsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_connect</function> intenta abrir una conexi&oacute;n
al servidor MySQL que se est&aacute; ejecutando en <parameter>equipo_afitri&oacute;n</parameter>
el cual puede ser el nombre de un equipo o una direcci&oacute;n IP. Pasando el
valor &null; o la cadena "localhost" a este par&aacute;metro, se asume que
est&aacute; en el mismo equipo. Cuando sea posible se usar&Acute; "pipes" en vez
del protocolo TCP/IP. En caso exitoso, la funci&oacute;n <function>mysqli_connect</function>
regresar&aacute; un objeto representando la conexi&oacute;n a la base de datos,
o &false; en caso contrario.
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>
En los par&aacute;metros <parameter>usuario</parameter> y <parameter>contrase&ntilde;a</parameter>
se espec&iacute;fica el nombre de usuario y contrase&ntilde;a con los cuales
se debe conectar al servidor MySQL. Si no se da contrase&ntilde;a el valor
&null; es tomado, el servidor MySQL intentar&aacute; verificar al usuario
contra los registros de usuarios que esten sin contrase&ntilde;a. Esto permite
que un usuario pueda ser usado con diferentes permisos (dependiendo si se
provee contrase&ntilde;a o no).
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>
Si se espec&iacute;fica el par&aacute;metro <parameter>base_de_datos</parameter>
especificar&aacute; la base de datos a usar por defecto cuando se ejecuten
consultas.
The <parameter>dbname</parameter> parameter if provided will specify the default database to be
used when performing queries.
</para>
<para>
Los par&aacute;metros <parameter>puerto</parameter> y <parameter>socket</parameter>
son usados junto con el par&aacute;metro <parameter>equipo_anfitri&oacute;n</parameter>
para controla a futuro como conectar al servidor de base de datos.
El par&aacute;metro <parameter>puerto</parameter> espec&iacute;fica el n&uacute;mero
de puerto al que se intenta conectar en el servidor MySQL, mientras que el
par&aacute;metro <parameter>socket</parameter> espec&iacute;fica el socket o
la pipa nombrada "pipe" que debe ser usada.
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.
</para>
<note>
<para>
Especificar el par&aacute;metro <parameter>socket</parameter> no determina
expl&iacute;citamente el tipo de conexi&oacute;n a ser usado cuando se conecta
al servidor MySQL. El par&aacute;metro <parameter>equipo_anfitri&oacute;n</parameter>
determina como se hace la conexi&oacute;n a la base de datos MySQL.
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.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa un objeto el cu&aacute;l representa la conexi&oacute;n al servidor
MySQL o &false; en caso contrario.
Returns a object which represents the connection to a MySQL Server or
&false; if the connection failed.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -105,7 +95,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -126,7 +116,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,52 +1,49 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.14 $ -->
<refentry id="function.mysqli-data-seek">
<refnamediv>
<refname>mysqli_data_seek</refname>
<refname>result->data_seek</refname>
<refpurpose>Ajusta el apuntador arbitrariamente a una fila en el resultado</refpurpose>
<refpurpose>Adjusts the result pointer to an arbitary row in the result</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_data_seek</methodname>
<methodparam><type>objeto</type><parameter>resultado</parameter></methodparam>
<methodparam><type>int</type><parameter>posici&oacute;n</parameter></methodparam>
<methodparam><type>object</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>bool</type>
<methodname>data_seek</methodname>
<methodparam><type>int</type><parameter>posici&oacute;n</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_data_seek</function> busca arbitrariamente
apuntar al valor espec&iacute;ficado por <parameter>posici&oacute;n</parameter>
en el conjunto resultante representado por <parameter>result</parameter>.
Los valores del par&aacute;metro <parameter>posici&oacute;n</parameter>
deben estar entre cero y el total de filas menus uno (0 .. <function>mysqli_num_rows</function> - 1).
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).
</para>
<note>
<para>
Est&aacute; funci&oacute;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>.
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.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_store_result</function>,
<function>mysqli_fetch_row</function>,
@ -54,9 +51,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a onjetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -91,7 +88,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -127,7 +124,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,46 +1,44 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.mysqli-debug">
<refnamediv>
<refname>mysqli_debug</refname>
<refpurpose>Realiza operaciones de rastreo de errores</refpurpose>
<refpurpose>Performs debugging operations</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_debug</methodname>
<methodparam><type>cadena</type><parameter>acci&oacute;n</parameter></methodparam>
<methodparam><type>string</type><parameter>debug</parameter></methodparam>
</methodsynopsis>
<para>
La funci&oacute;n <function>mysqli_debug</function> es usada para realizar
operaciones de rastreo y eliminaci&oacute;n de errores utilizando la libreria
"Fred Fish". El par&aacute;metro <parameter>acci&oacute;n</parameter>
es una cadena que representa las operaciones de rastreo de errores a realizar.
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.
</para>
<note>
<para>
Para usar la funci&oacute; <function>mysqli_debug</function> se debe compilar
el cliente de MySQL con soporte para rastreo de errores "debugging".
To use the <function>mysqli_debug</function> function you must complile
the MySQL client library to support debugging.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<para><function>mysqli_debug</function> no regresa ning&uacute;n valor.</para>
<title>Return values</title>
<para><function>mysqli_debug</function> doesn't return any value.</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_dump_debug_info</function>,
<function>mysqli_report</function>
</para>
</refsect1>
<refsect1>
<title>Ejemplo</title>
<title>Example</title>
<para>
<example>
<title>Generar un archivo de rastreo</title>
<title>Generating a Trace File</title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.mysqli-disable-reads-from-master">
<refnamediv>
<refname>mysqli_disable_reads_from_master</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_disable_reads_from_master</methodname>
<methodparam><type>int</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;

View file

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- EN-Revision: 1.5 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.7 $ -->
<refentry id="function.mysqli-disable-rpl-parse">
<refnamediv>
<refname>mysqli_disable_rpl_parse</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_disable_rpl_parse</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;

View file

@ -1,33 +1,31 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.mysqli-dump-debug-info">
<refnamediv>
<refname>mysqli_dump_debug_info</refname>
<refname>mysqli->dump_debug_info</refname>
<refpurpose>Vac&iacute;a informaci&oacute;n de rastreo de errores en el log</refpurpose>
<refpurpose>Dump debugging information into the log</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>mysqli_dump_debug_info</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
Esta funci&oacute;n est&aacute; dise&ntilde;ada para ser ejecutada por un
usaurio con privilegios de SUPER usuario y es usada para vaciar la informaci&oacute;n
de rastreo de errores en el log del servidor MySQL relacionado a la conexi&oacute;n
espec&iacute;ficada por el par&aacute;metro <parameter>identificador_de_enlace</parameter>.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_debug</function>.
</para>

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- EN-Revision: 1.2 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.mysqli-embedded-connect">
<refnamediv>
<refname>mysqli_embedded_connect</refname>
<refpurpose>Abre una conexi&oacute; a un servidor MySQL embebido.</refpurpose>
<refpurpose>Open a connection to an embedded mysql server.</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>object</type><methodname>mysqli_embedded_connect</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>

View file

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.mysqli-enable-reads-from-master">
<refnamediv>
<refname>mysqli_enable_reads_from_master</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_enable_reads_from_master</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;

View file

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.mysqli-enable-rpl-parse">
<refnamediv>
<refname>mysqli_enable_rpl_parse</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>mysqli_enable_rpl_parse</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;

View file

@ -1,53 +1,46 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.10 $ -->
<refentry id="function.mysqli-errno">
<refnamediv>
<refname>mysqli_errno</refname>
<refname>mysql->errno</refname>
<refpurpose>Regresa el c&oacute;digo de error para la funci&oacute;n m&aacute;s
recientemente llamada</refpurpose>
<refpurpose>Returns the error code for the most recent function call</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_errno</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (propiedad):</para>
<para>Object oriented style (property):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>int</type><varname>errno</varname></fieldsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_errno</function> regresar&aacute; el &uacute;ltimo
c&oacute;digo de error para la funci&oacute;n de MySQLi m&aacute;s recientemente
llamada, que pueda ser exitosa o fallar con respecto al identificador de enlace a
la base de datos definido por el par&aacute;metro <parameter>identificador_de_enlace</parameter>.
Si no han ocurrido errores, est&aacute; funci&oacute;n regresar&aacute; cero.
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.
</para>
<note>
<para>
Los n&uacute;meros de error del cliente, est&aacute;n listados en el archivo
de MySQL <filename>errmsg.h</filename>.
Los n&uacute;meros de error del servidor, est&aacute;n listados en el archivo
de MySQL <filename>mysqld_error.h</filename>.
En la distribuci&oacute;n de las fuentes de MySQL, tu puedes encontrar una
lista completa de los mensajes de error y de los n&uacute;meros de error
en el documento <filename>Docs/mysqld_error.txt</filename>.
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>.
</para>
</note>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Un valor de c&oacute;digo de error para la &uacute;ltima llamada si fall&oacute;.
Cero significa que no han ocurrido errores.
An error code value for the last call, if it failed. zero means no error occurred.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_connect_errno</function>,
<function>mysqli_connect_error</function>,
@ -56,9 +49,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -81,7 +74,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -104,7 +97,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,41 +1,39 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-error">
<refnamediv>
<refname>mysqli_error</refname>
<refpurpose>Regresa una cadena con la descripci&oacute; del &uacute;ltimo error</refpurpose>
<refpurpose>Returns a string description of the last error</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>cadena</type><methodname>mysqli_error</methodname>
<methodparam><type>objeto</type><parameter>identificador_de_enlace</parameter></methodparam>
<type>string</type><methodname>mysqli_error</methodname>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (propiedad)</para>
<para>Object oriented style (property)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>cadena</type><varname>error</varname></fieldsynopsis>
<fieldsynopsis><type>string</type><varname>error</varname></fieldsynopsis>
</classsynopsis>
<para>
La funci&oacute; <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&eacute;rico, la funci&oacute;n <function>mysqli_error</function>
regresar&aacute; un mensaje de error, representando el &uacute;ltimo error
ocurrido para la conexi&oacute; de base de datos <parameter>identificador_de_enlace</parameter>.
Si no han ocurrido errores, est&aacute; funci&oacute;n regresar&aacute; una cadena vac&iacute;a.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Una cadena que describe el error. Una cadena vac&iacute;a si no han ocurrido
errores.
A string that describes the error. An empty string if no error occurred.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_connect_errno</function>,
<function>mysqli_connect_error</function>,
@ -44,9 +42,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -69,7 +67,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -92,7 +90,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,15 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- EN-Revision: 1.1 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.mysqli-escape-string">
<refnamediv>
<refname>mysqli-escape-string</refname>
<refpurpose>Alias de <function>mysqli_real_escape_string</function></refpurpose>
<refpurpose>Alias of <function>mysqli_real_escape_string</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute;n es un alias de <function>mysqli_real_escape_string</function>.
This function is an alias of <function>mysqli_real_escape_string</function>.
</para>
</refsect1>
</refentry>

View file

@ -1,26 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- EN-Revision: 1.11 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.13 $ -->
<refentry id="function.mysqli-execute">
<refnamediv>
<refname>mysqli_execute</refname>
<refpurpose>Alias de <function>mysqli_stmt_execute</function></refpurpose>
<refpurpose>Alias for <function>mysqli_stmt_execute</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute;n es un alias de <function>mysqli_stmt_execute</function>.
Para una descipci&oacute; m&aacute;s detallada vea la descripci&oacute;n de
This function is an alias of <function>mysqli_stmt_execute</function>.
For a detailled descripton see description of
<function>mysqli_stmt_execute</function>.
</para>
<note>
<para>
<function>mysqli_execute</function> es obsoleta y ser&aacute; removida.
<function>mysqli_execute</function> is deprecated and will be removed.
</para>
</note>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_stmt_execute</function>
</para>

View file

@ -1,72 +1,65 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- EN-Revision: 1.12 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.14 $ -->
<refentry id="function.mysqli-fetch-array">
<refnamediv>
<refname>mysqli_fetch_array</refname>
<refname>result->fetch_array</refname>
<refpurpose>Obtiene una fila como una matriz asociativa, una matriz num&eacute;rica o ambos.</refpurpose>
<refpurpose>Fetch a result row as an associative, a numeric array, or both.</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<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>
<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>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriend style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>mixto</type>
<type>mixed</type>
<methodname>fetch_array</methodname>
<methodparam choice='opt'><type>int</type><parameter>tipo_de_resultado</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Regresa una matrix que corresponde a las filas obtenidas o &null; si no hay
m&aacute;s filas para el resultado, representado por el par&aacute;metro
<parameter>resultado</parameter>.
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.
</para>
<para>
<function>mysqli_fetch_array</function> es una versi&oacute;n mejorada de la funci&oacute;n
<function>mysqli_fetch_row</function>. Adem&aacute; de almacenar los datos en
&iacute;ndices num&eacute;ricos de la matriz resultante, la funci&oacute;n
<function>mysql_fetch_array</function> tambi&eacute;n puede almacenar los datos en
&iacute;ndices asociativos, usando los nombre de los campos de el resultado como llaves.
<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.
</para>
&database.field-case;
<para>
Si dos o m&aacute;s columnas de el resultado tienen el mismo nombre, la &uacute;ltima
columna tomara precedencia y sobre escribir&aacute; lo primero. Para acceder a
varias columnas con el mismo nombre, la forma de &iacute;ndice num&eacute;rica
debe ser usada.
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>
El par&aacute;metro opcional <parameter>tipo_de_resultado</parameter> es una
constante que indica qu&eacute; tipo de matriz debe ser producido para la fila
de datos actual. Los posibles valires para este par&aacute;metro son las constantes
MYSQLI_ASSOC, MYSQLI_NUM, o MYSQLI_BOTH. Por defecto la funci&oacute;n
<function>mysqli_fetch_array</function> asumir&aacute; el valor de MYSQLI_BOTH.
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>
Al usar la constante MYSQLI_ASSOC, esta funci&oacute;n se comportar&aacute;
identica a la funci&oacute;n <function>mysqli_fetch_assoc</function>, mientras
que con MYSQLI_NUM se comportar&aacute; identica a la funci&oacute;n
<function>mysql_fetch_row</function>. La opci&oacute;n final MYSQLI_BOTH
crear&aacute; una matriz con los atributos de ambos.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa una matriz que corresponde a las filas obtenidas o &null; si no hay
m&aacute;s filas en el resultado.
Returns an array that corresponds to the fetched row or &null; if there are no more rows in resultset.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_fetch_assoc</function>,
<function>mysqli_fetch_row</function>,
@ -74,9 +67,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -113,7 +106,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -150,7 +143,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores produci&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,55 +1,54 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-fetch-assoc">
<refnamediv>
<refname>mysqli_fetch_assoc</refname>
<refname>mysqli->fetch_assoc</refname>
<refpurpose>Obtiene una fila del resultado como una matriz asociativa</refpurpose>
<refpurpose>Fetch a result row as an associative array</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>matriz</type><methodname>mysqli_fetch_assoc</methodname>
<methodparam><type>objeto</type><parameter>resultado</parameter></methodparam>
<type>array</type><methodname>mysqli_fetch_assoc</methodname>
<methodparam><type>object</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriend style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>matriz</type>
<type>array</type>
<methodname>fetch_assoc</methodname>
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Regresa una matriz asociativa que corresponde a las filas obtenidas o &null;
si no hay mas filas.
Returns an associative array that corresponds to the fetched row or &null; if there are
no more rows.
</para>
<para>
La funci&oacute;n <function>mysqli_fetch_assoc</function> es usada para regresar
una representaci&oacute;n asociativa de la siguiente fila en el resultado,
representado por el par&aacute;metro <parameter>resultado</parameter>, donde
cada llave en la matriz representa el nombre de las columnas en el resultado.
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.
</para>
<para>
Si dos o m&aacute;s columnas de el resultado tienen el mismo nombre, la &uacute;ltima
columna tomara precedencia y sobre escribir&aacute; lo primero. Para acceder a
varias columnas con el mismo nombre, la forma de &iacute;ndice num&eacute;rica
debe ser usada.
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.
</para>
&database.field-case;
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa una matriz que corresponde a las filas obtenidas o &null; si no hay
m&aacute;s filas en el resultado.
Returns an array that corresponds to the fetched row or &null; if there are no more rows in resultset.
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_fetch_array</function>,
<function>mysqli_fetch_row</function>,
@ -57,9 +56,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -91,7 +90,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -123,7 +122,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,91 +1,88 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.mysqli-fetch-field-direct">
<refnamediv>
<refname>mysqli_fetch_field_direct</refname>
<refname>result->fetch_field_direct</refname>
<refpurpose>
Obtiene los metadatos de un campo
Fetch meta-data for a single field
</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<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>
<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>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>mixto</type>
<type>mixed</type>
<methodname>fetch_field_direct</methodname>
<methodparam><type>int</type><parameter>indice_de_campo</parameter></methodparam>
<methodparam><type>int</type><parameter>fieldnr</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_fetch_field_direct</function> regresa un
objeto el cu&aacute;l contiene informaci&oacute;n de la definici&oacute;n del
campo del resultado espec&iacute;ficado. El valor de indice_de_campo debe estar
en el rango de <literal>0</literal> a <literal>n&uacute;mero de campos -1</literal>.
<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>.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa un objeto el cual contiene informaci&oacute;n de la definici&oacute;n del
campo o &false; si no hay informaci&oacute;n para el <literal>indice_de_campo</literal>
espec&iacute;ficado.
Returns an object which contains field definition informations or &false; if no field information
for specified <literal>fieldnr</literal> is available.
</para>
<para>
<table>
<title>Atributos del objeto</title>
<title>Object attributes</title>
<tgroup cols='2'>
<thead>
<row>
<entry>Atributo</entry>
<entry>Descripci&oacute;n</entry>
<entry>Attribute</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>name</entry>
<entry>Nombre de la columna</entry>
<entry>The name of the column</entry>
</row>
<row>
<entry>orgname</entry>
<entry>Nombre original de la columna si se di&oacute; un alias</entry>
<entry>Original column name if an alias was specified</entry>
</row>
<row>
<entry>table</entry>
<entry>Nombre de la tabla a la que pertenece el campo</entry>
<entry>The name of the table this field belongs to (if not calculated)</entry>
</row>
<row>
<entry>orgtable</entry>
<entry>Nombre original de la tabla si se di&oacute; un alias</entry>
<entry>Original table name if an alias was specified</entry>
</row>
<row>
<entry>def</entry>
<entry>El valor por defecto para este campo, representado como una cadena</entry>
<entry>The default value for this field, represented as a string</entry>
</row>
<row>
<entry>max_length</entry>
<entry>La amplitud m&aacute;xima de campo de el campo para el resultado</entry>
<entry>The maximum width of the field for the result set.</entry>
</row>
<row>
<entry>flags</entry>
<entry>Un entero que representa los bit bandera para el campo</entry>
<entry>An integer representing the bit-flags for the field.</entry>
</row>
<row>
<entry>type</entry>
<entry>Tipo de dato utilizado para este campo</entry>
<entry>The data type used for this field</entry>
</row>
<row>
<entry>decimals</entry>
<entry>N&uacute;mero de decimales usadas (para campos entero)</entry>
<entry>The number of decimals used (for integer fields)</entry>
</row>
</tbody>
</tgroup>
@ -93,7 +90,7 @@
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_num_fields</function>
<function>mysqli_fetch_field</function>
@ -101,9 +98,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -138,7 +135,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -173,7 +170,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,88 +1,86 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-fetch-field">
<refnamediv>
<refname>mysqli_fetch_field</refname>
<refname>result->fetch_field</refname>
<refpurpose>Regresa metadatos de el campo en el resultado</refpurpose>
<refpurpose>Returns the next field in the result set</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>mixto</type><methodname>mysqli_fetch_field</methodname>
<methodparam><type>objeto</type><parameter>resultado</parameter></methodparam>
<type>mixed</type><methodname>mysqli_fetch_field</methodname>
<methodparam><type>object</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>mixto</type>
<methodname>fetch_field</methodname>
<void/>
<type>mixed</type><methodname>fetch_field</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
La funci&oacute;n <function>mysqli_fetch_field</function> regresa un objeto
con informaci&oacute;n de definici&oacute;n de un campo de un resultado.
Ejecute esta funci&oacute;n repetidamente para obtener la informaci&oacute;n
de todas las columnas en un resultado. <function>mysqli_fetch_field</function>
regresa &false; cuando no hay m&aacute;s columnas en el resultado.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa un objeto el cual contiene la informaci&oacute;n de la definici&oacute;n
del campo o &false; si no hay informaci&oacute;n disponible.
Returns an object which contains field definition informations or &false; if no field information
is available.
</para>
<para>
<table>
<title>Atributos del objeto</title>
<title>Object attributes</title>
<tgroup cols='2'>
<thead>
<row>
<entry>Atributo</entry>
<entry>Descripci&oacute;n</entry>
<entry>Attribute</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>name</entry>
<entry>El nombre de la columna</entry>
<entry>The name of the column</entry>
</row>
<row>
<entry>orgname</entry>
<entry>Nombre original de la columna, si se espec&iacute;fico un alias</entry>
<entry>Original column name if an alias was specified</entry>
</row>
<row>
<entry>table</entry>
<entry>El nombre de la tablaa la cu&aacute;l pertenece</entry>
<entry>The name of the table this field belongs to (if not calculated)</entry>
</row>
<row>
<entry>orgtable</entry>
<entry>Nombre original de la tabla si se espec&iacute;fico un alias</entry>
<entry>Original table name if an alias was specified</entry>
</row>
<row>
<entry>def</entry>
<entry>El valor por defecto de este campo, representado con una cadena</entry>
<entry>The default value for this field, represented as a string</entry>
</row>
<row>
<entry>max_length</entry>
<entry>La m&aacute;ma amplitud del campo para el resultado</entry>
<entry>The maximum width of the field for the result set.</entry>
</row>
<row>
<entry>flags</entry>
<entry>Un entero representando los bit de bandera para el campo</entry>
<entry>An integer representing the bit-flags for the field.</entry>
</row>
<row>
<entry>type</entry>
<entry>El tipo de dato usado para este campo</entry>
<entry>The data type used for this field</entry>
</row>
<row>
<entry>decimals</entry>
<entry>El n&uacute;mero de decimales utilizadas (para campos num&eacute;ricos)</entry>
<entry>The number of decimals used (for integer fields)</entry>
</row>
</tbody>
</tgroup>
@ -90,7 +88,7 @@
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_num_fields</function>
<function>mysqli_fetch_field_direct</function>
@ -99,9 +97,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -136,7 +134,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -171,7 +169,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,47 +1,95 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.12 $ -->
<refentry id="function.mysqli-fetch-fields">
<refnamediv>
<refname>mysqli_fetch_fields</refname>
<refname>result->fetch_fields</refname>
<refpurpose>Regresa una matriz de objetos representando los campos en un
resultado</refpurpose>
<refpurpose>Returns an array of objects representing the fields in a result set</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural Style:</para>
<methodsynopsis>
<type>mixto</type><methodname>mysqli_fetch_fields</methodname>
<methodparam><type>objeto</type><parameter>resultado</parameter></methodparam>
<type>mixed</type><methodname>mysqli_fetch_fields</methodname>
<methodparam><type>object</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos (m&eacute;todo):</para>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<ooclass><classname>result</classname></ooclass>
<methodsynopsis>
<type>mixto</type>
<type>mixed</type>
<methodname>fetch_fields</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
Esta funci&oacute;n sirve identica en prop&oacute;sito a la funci&oacute;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&oacute;n de los
atributos de cada objeto y su significado vea la funci&oacute;n
<function>mysqli_fetch_field</function>.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
Regresa una matriz de objetos que contienen la informaci&oacute;n de definici&oacute;
de los campos o &false; si no hay informaci&oacute;n del campo disponible.
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>
</para>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_num_fields</function>
<function>mysqli_fetch_field</function>
@ -49,9 +97,9 @@
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -87,7 +135,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -123,7 +171,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,50 +1,46 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.11 $ -->
<refentry id="function.mysqli-fetch-lengths">
<refnamediv>
<refname>mysqli_fetch_lengths</refname>
<refname>result->lengths</refname>
<refpurpose>Regresa la longitud de las columnas de la fila actual en el
resultado</refpurpose>
<refpurpose>Returns the lengths of the columns of the current row in the result set</refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<para>Estilo por procedimientos:</para>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>mixto</type><methodname>mysqli_fetch_lengths</methodname>
<methodparam><type>objeto</type><parameter>resultado</parameter></methodparam>
<type>mixed</type><methodname>mysqli_fetch_lengths</methodname>
<methodparam><type>object</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Estilo orientado a objetos(propiedad):</para>
<para>Object oriented style (property):</para>
<classsynopsis>
<ooclass><classname>resultado</classname></ooclass>
<fieldsynopsis><type>mixto</type><varname>lengths</varname></fieldsynopsis>
<ooclass><classname>result</classname></ooclass>
<fieldsynopsis><type>mixed</type><varname>lengths</varname></fieldsynopsis>
</classsynopsis>
<para>
La funci&oacute;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&aacute;metro <parameter>result</parameter>. Si hay
informaci&oacute;n regresa una matriz num&eacute;ricamente ordenada representando
la longitud de cada columna o &false; si falla.
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.
</para>
</refsect1>
<refsect1>
<title>Valores regresados</title>
<title>Return values</title>
<para>
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.
An array of integers representing the size of each column (not including
any terminating null characters). &false; if an error occurred.
</para>
<para>
<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&eacute;s de obtener todas las filas
en el resultado.
<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.
</para>
</refsect1>
<refsect1>
<title>Ejemplos</title>
<title>Example</title>
<example>
<title>Estilo orientado a objetos</title>
<title>Object oriented style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -76,7 +72,7 @@ $mysqli->close();
</programlisting>
</example>
<example>
<title>Estilo por procedimientos</title>
<title>Procedural style</title>
<programlisting role="php">
<![CDATA[
<?php
@ -109,7 +105,7 @@ mysqli_close($link);
</programlisting>
</example>
<para>
Los ejemplos anteriores producir&aacute;n la siguiente salida:
The above examples would produce the following output:
</para>
<screen>
<![CDATA[

View file

@ -1,26 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.mysqli-fetch">
<refnamediv>
<refname>mysqli_fetch</refname>
<refpurpose>Alias de <function>mysqli_stmt_fetch</function></refpurpose>
<refpurpose>Alias for <function>mysqli_stmt_fetch</function></refpurpose>
</refnamediv>
<refsect1>
<title>Descripci&oacute;n</title>
<title>Description</title>
<para>
Esta funci&oacute;n es un alias de <function>mysqli_stmt_fetch</function>.
Para una descripci&oacute;n m&aacute;s detallada vea
This function is an alias of <function>mysqli_stmt_fetch</function>.
For a detailled descripton see description of
<function>mysqli_stmt_fetch</function>.
</para>
<note>
<para>
<function>mysqli_fetch</function> es obsoleta y ser&aacute; removida.
<function>mysqli_fetch</function> is deprecated and will be removed.
</para>
</note>
</refsect1>
<refsect1>
<title>Vea tambi&eacute;n</title>
<title>See also</title>
<para>
<function>mysqli_stmt_fetch</function>
</para>