tom Tue Mar 5 16:28:02 2002 EDT
Modified files:
/phpdoc/en/functions dbx.xml
Log:
reformatted code for a better page-width in html-result
Index: phpdoc/en/functions/dbx.xml
diff -u phpdoc/en/functions/dbx.xml:1.27 phpdoc/en/functions/dbx.xml:1.28
--- phpdoc/en/functions/dbx.xml:1.27 Mon Feb 18 05:29:51 2002
+++ phpdoc/en/functions/dbx.xml Tue Mar 5 16:28:02 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.27 $ -->
+<!-- $Revision: 1.28 $ -->
<!--
If anyone from the translator group has problems with the
@@ -454,7 +454,8 @@
<title>lists each field's name and type</title>
<programlisting role="php">
<![CDATA[
-$result = dbx_query ($link, 'SELECT id FROM table', DBX_RESULT_INDEX |
DBX_RESULT_INFO);
+$result = dbx_query ($link, 'SELECT id FROM table',
+ DBX_RESULT_INDEX | DBX_RESULT_INFO);
for ($i = 0; $i < $result->cols; $i++ ) {
echo $result->info['name'][$i] . "\n";