cvs: phpdoc /en/reference/mysql/functions mysql-list-fields.xml

From: Date: Wed, 10 Sep 2003 07:51:13 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-list-fields.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356256@lists.php.net to get a copy of this message
georg Wed Sep 10 03:51:13 2003 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-list-fields.xml Log: Added Note (functions is deprecated) removed todo-comment Index: phpdoc/en/reference/mysql/functions/mysql-list-fields.xml diff -u phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.5 phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.6 --- phpdoc/en/reference/mysql/functions/mysql-list-fields.xml:1.5 Wed Jul 9 11:07:29 2003 +++ phpdoc/en/reference/mysql/functions/mysql-list-fields.xml Wed Sep 10 03:51:13 2003 @@ -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 @@ 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>

« previous php.doc (#969356256) next »