Re: Tomar los nombres de los campos de una tabla

From: Date: Fri, 09 Sep 2005 08:40:55 +0000
Subject: Re: Tomar los nombres de los campos de una tabla
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-55873@lists.php.net to get a copy of this message
Para MySql: mysql_field_flags -- Get the flags associated with the specified field in a result mysql_field_len -- Returns the length of the specified field mysql_field_name -- Get the name of the specified field in a result mysql_field_table -- Get name of the table the specified field is in mysql_field_type -- Get the type of the specified field in a result Postgress: pg_field_is_null -- Test if a field is SQL NULL pg_field_name -- Returns the name of a field pg_field_num -- Returns the field number of the named field pg_field_prtlen -- Returns the printed length pg_field_size -- Returns the internal storage size of the named field pg_field_type_oid -- Returns the type ID (OID) for the corresponding field number pg_field_type -- Returns the type name for the corresponding field number ODBC: odbc_field_len -- Get the length (precision) of a field odbc_field_name -- Get the columnname odbc_field_num -- Return column number odbc_field_precision -- Synonym for odbc_field_len() odbc_field_scale -- Get the scale of a field odbc_field_type -- Datatype of a field Satyam "Emiliano Horcada" <emilianohorcada@gmail.com> wrote in message news:a0a4ebf3050908084634bb83ad@mail.gmail.com... Se que hay una función en PHP que te devuelve el nombre de los campos de una tabla (o por lo menos eso creo), y no puedo encontrarla. Estoy generalizando los procesos de un administrador y me vendría de pelos. Alguien la recuerda o me puede dar una pista?. Emiliano H.

« previous php.general.es (#55873) next »