mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-23 04:18:56 +00:00
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
|
||
|
<refentry id="function.mysql-list-tables">
|
||
|
<refnamediv>
|
||
|
<refname>mysql_list_tables</refname>
|
||
|
<refpurpose>List tables in a MySQL database</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1>
|
||
|
<title>Description</title>
|
||
|
<methodsynopsis>
|
||
|
<type>resource</type><methodname>mysql_list_tables</methodname>
|
||
|
<methodparam><type>string</type><parameter>database</parameter></methodparam>
|
||
|
<methodparam choice="opt"><type>resource</type><parameter>
|
||
|
link_identifier
|
||
|
</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
<para>
|
||
|
<function>mysql_list_tables</function> takes a database name and
|
||
|
returns a result pointer much like the
|
||
|
<function>mysql_db_query</function> function. You can use the
|
||
|
<function>mysql_tablename</function> function to extract the
|
||
|
actual table names from the result pointer, or any other result
|
||
|
table function.
|
||
|
</para>
|
||
|
<para>
|
||
|
For downward compatibility <function>mysql_listtables</function>
|
||
|
can also be used. This is deprecated however.
|
||
|
</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
|
||
|
-->
|