note 65144 added to function.oci-fetch-all
| From: | mengfl at vvgroup dot com | Date: | Tue, 25 Apr 2006 08:50:51 +0000 |
| Subject: | note 65144 added to function.oci-fetch-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-109645@lists.php.net to get a copy of this message | ||
in Example 1.
if select*from emp:
outputs :
a 30 60
b 40 50
c 60 80
d 70 90
if using html means:
<html>
<head><title>My site</title></head>
<body>
<table>
<tr>
<td>name</td>
<td>quantity</td>
<td>money</td>
</tr>
<tr>
<td>a</td>
<td>30</td>
<td>60</td>
</tr>
<tr>
<td>b</td>
<td>40</td>
<td>50</td>
</tr>
<tr>
<td>c</td>
<td>60</td>
<td>80</td>
</tr>
<tr>
<td>d</td>
<td>70</td>
<td>90</td>
</tr>
<tr>
<td>sum</td>
<td>200</td>
<td>280</td>
</tr>
</table>
</body>
</html>
above html outputs:
thereinto quantity = 30 + 40 + 60 + 70;
money = 60 + 50 + 80 + 90;
so how to outputs in php code:
<tr>
<td>sum</td>
<td>200</td>
<td>280</td>
</tr>
waitting for your answer!
----
Server IP: 66.163.161.117
Probable Submitter: 218.3.167.90
----
X-Spam-Status: Yes, hits=5.2 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_30_40,HTML_MESSAGE,HTML_TAG_BALANCE_BODY,HTML_TAG_BALANCE_HTML
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.oci-fetch-all.php
Edit -- http://master.php.net/note/edit/65144
Del: integrated -- http://master.php.net/note/delete/65144/integrated
Del: useless -- http://master.php.net/note/delete/65144/useless
Del: bad code -- http://master.php.net/note/delete/65144/bad+code
Del: spam -- http://master.php.net/note/delete/65144/spam
Del: non-english -- http://master.php.net/note/delete/65144/non-english
Del: in docs -- http://master.php.net/note/delete/65144/in+docs
Del: other reasons-- http://master.php.net/note/delete/65144
Reject -- http://master.php.net/note/reject/65144
Search -- http://master.php.net/manage/user-notes.php