reformatted code for a better page-width in html-result

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@72019 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Thomas Schoefbeck 2002-03-05 21:28:02 +00:00
parent 8be41f8e90
commit c90dcf933c

View file

@ -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 @@ echo $result->cols; // number of fields
<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";