Mailinglisten-Archive |
Hallo,,, ich habe folgendes script: read5.php $sql =3D 'select day as dat,sum(count) as pi,sum(visits) as vi from pageviews_archiv where day > from_days(to_days(curdate())-32) group by = day order by day'; $db->query($sql); echo "<table border=3D0 width=3D300><tr bgcolor=3D#999966>"; echo "<td width=3D33%>Datum</td><td width=3D33%>Pi</td><td width=3D33%>Vi</td></tr>"; echo "</table>"; while($row =3D $db->fetch_array()) { echo "<table border=3D0 width=3D300><tr bgcolor=3D#ffffcc>"; echo "<td width=3D33%>".$row["dat"]."</td>"; echo "<td width=3D33%>".$row["pi"]."</td>"; echo "<td width=3D33%>".$row["vi"]."</td>"; echo "</tr></table>"; =09 } soweit so gut...jetzt m=F6chte ich die summen der $row["pi"] und $row["vi"]...ausgerechnet und unter die tabelle einsetzen...kann mir = jemand einen tip geben...??? gr=FCsse aus berlin andreas
php::bar PHP Wiki - Listenarchive