Files
doc-fr/reference/pgsql/functions/pg-field-num.xml
Yannick Torres 20ea7908b5 synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158710 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-17 06:56:09 +00:00

58 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
<refentry id="function.pg-field-num">
<refnamediv>
<refname>pg_field_num</refname>
<refpurpose>Retourne le numéro d'une colonne</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pg_field_num</methodname>
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
<methodparam><type>string</type><parameter>field_name</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_field_num</function> retourne le numéro de la colonne,
dont le nom est <parameter>field_name</parameter>, dans le résultat
<parameter>result</parameter>. La numérotation des champs commence
à 0. <function>pg_field_num</function> retournera -1 en cas d'erreur.
</para>
<para>
Voir l'exemple donné à la page de la documentation de la fonction
<function>pg_field_name</function>.
</para>
<note>
<para>
Auparavant, cette fonction s'appelait <literal>pg_fieldnum()</literal>.
</para>
</note>
<para>
Voir aussi
<function>pg_field_name</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->