Some cosmetics.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@12696 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 1999-09-06 19:21:30 +00:00
parent 3de68dbe40
commit d0d48e0c70

View file

@ -170,31 +170,11 @@
pointer of the MySQL result associated with the specified result
identifier to point to the specified row number. The next call
to <function>mysql_fetch_row</function> would return that row.
<para>
<parameter>Row_number</parameter> starts at 0.
</refsect1>
</refentry>
<!--
<refentry id="function.mysql-dbname">
<refnamediv>
<refname>mysql_dbname</refname>
<refpurpose>get current MySQL database name</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>string <function>mysql_dbname</function></funcdef>
<paramdef>string <parameter>result</parameter></paramdef>
<paramdef>int <parameter>i</parameter></paramdef>
</funcsynopsis>
<para>
<function>mysql_dbname</function> returns the database name
stored in position <parameter>i</parameter> of the result pointer
returned from the <function>mysql_list_dbs</function>
function. The <function>mysql_num_rows</function> function can be
used to determine how many database names are available.
</refsect1>
</refentry>
-->
<refentry id="function.mysql-db-query">
<refnamediv>
@ -997,8 +977,9 @@ mysql_close();
<funcsynopsis>
<funcdef>int <function>mysql_query</function></funcdef>
<paramdef>string <parameter>query</parameter></paramdef>
<paramdef>int <parameter><optional>link_identifier</optional>
</parameter></paramdef>
<paramdef>int
<parameter><optional>link_identifier</optional></parameter>
</paramdef>
</funcsynopsis>
<para>
<function>mysql_query</function> sends a query to the currently
@ -1153,7 +1134,7 @@ $result = mysql_query ("SELECT my_col FROM my_tbl")
<refentry id="function.mysql-tablename">
<refnamediv>
<refname>mysql_tablename</refname>
<refpurpose>get table name of field</refpurpose>
<refpurpose>Get table name of field</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -1169,11 +1150,12 @@ $result = mysql_query ("SELECT my_col FROM my_tbl")
<function>mysql_num_rows</function> function may be used to
determine the number of tables in the result pointer.
<example><title>mysql_tablename() example</title>
<programlisting role=php>
<example>
<title><function>mysql_tablename</function> example</title>
<programlisting role="php">
&lt;?php
mysql_connect ("localhost:3306");
$result = mysql_listtables ("wisconsin");
$result = mysql_list_tables ("wisconsin");
$i = 0;
while ($i &lt; mysql_num_rows ($result)) {
$tb_names[$i] = mysql_tablename ($result, $i);