note 65144 deleted from function.oci-fetch-all by bjori
| From: | bjori@php.net | Date: | Tue, 25 Apr 2006 08:54:17 +0000 |
| Subject: | note 65144 deleted from function.oci-fetch-all by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109646@lists.php.net to get a copy of this message | ||
Note Submitter: mengfl at vvgroup dot com
Reason: useless
----
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!