From cd7e079d80ef7096fdc541f3f455cc54ac5ec655 Mon Sep 17 00:00:00 2001
From: Friedhelm Betz <betz@php.net>
Date: Wed, 7 Jan 2004 00:24:48 +0000
Subject: [PATCH] example indent

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148020 c90b9560-bf6c-de11-be94-00142212c4b1
---
 .../mysql/functions/mysql-field-type.xml      | 36 +++++++++----------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/reference/mysql/functions/mysql-field-type.xml b/reference/mysql/functions/mysql-field-type.xml
index d795b95025..d83d60feda 100644
--- a/reference/mysql/functions/mysql-field-type.xml
+++ b/reference/mysql/functions/mysql-field-type.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
   <refentry id="function.mysql-field-type">
    <refnamediv>
@@ -27,23 +27,23 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-    mysql_connect("localhost", "mysql_username", "mysql_password");
-    mysql_select_db("mysql");
-    $result = mysql_query("SELECT * FROM func");
-    $fields = mysql_num_fields($result);
-    $rows   = mysql_num_rows($result);
-    $table = mysql_field_table($result, 0);
-    echo "Your '" . $table . "' table has " . $fields . " fields and " . $rows . " record(s)\n";
-    echo "The table has the following fields:\n";
-    for ($i=0; $i < $fields; $i++) {
-        $type  = mysql_field_type($result, $i);
-        $name  = mysql_field_name($result, $i);
-        $len   = mysql_field_len($result, $i);
-        $flags = mysql_field_flags($result, $i);
-        echo $type . " " . $name . " " . $len . " " . $flags . "\n";
-    }
-    mysql_free_result($result);
-    mysql_close();
+mysql_connect("localhost", "mysql_username", "mysql_password");
+mysql_select_db("mysql");
+$result = mysql_query("SELECT * FROM func");
+$fields = mysql_num_fields($result);
+$rows   = mysql_num_rows($result);
+$table = mysql_field_table($result, 0);
+echo "Your '" . $table . "' table has " . $fields . " fields and " . $rows . " record(s)\n";
+echo "The table has the following fields:\n";
+for ($i=0; $i < $fields; $i++) {
+    $type  = mysql_field_type($result, $i);
+    $name  = mysql_field_name($result, $i);
+    $len   = mysql_field_len($result, $i);
+    $flags = mysql_field_flags($result, $i);
+    echo $type . " " . $name . " " . $len . " " . $flags . "\n";
+}
+mysql_free_result($result);
+mysql_close();
 ?>
 ]]>
       </programlisting>