mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
fd153274e4
commit
3d744cb227
1 changed files with 8 additions and 5 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue