mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
8be41f8e90
commit
c90dcf933c
1 changed files with 3 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue