Added Note (functions is deprecated)

removed todo-comment


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140008 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Georg Richter 2003-09-10 07:51:13 +00:00
parent fd153274e4
commit 3d744cb227

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-list-fields">
<refnamediv>
@ -58,10 +58,13 @@ field3
For downward compatibility <function>mysql_listfields</function>
can also be used. This is deprecated however.
</para>
<!-- TODO: this is equiv. with 'select * from $table where &false;,'
which implies you can better use the field-research functions
on a real query, that saves you one mysql-query.
-->
<note>
<para>
The function <function>mysql_list_fields</function> is deprecated. It
is preferable to use <function>mysql_query</function> to issue a
SQL <literal>SHOW COLUMNS FROM table [LIKE 'name']</literal> Statement instead.
</para>
</note>
</refsect1>
</refentry>