Kannst es ja so machen:
PHP-Code:
<?
$fc = mysql_fetch_assoc(db_query("SELECT COUNT(*) AS gesamt, SUM(verdienst) AS ges_verd FROM ".$db_prefix."_gebuchte_werbung WHERE menge >= 1 and werbeart = 'forcedbanner' and status = '1'"));
head("Mediadaten - Werbung");?>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="50%">Forcedklick Kampagnen</td>
<td width="50%"><?=@number_format($fc['gesamt'],0,",",".");?> Kampagnen</td>
</tr>
<tr>
<td width="50%">Forcedklicks Gesamtwert</td>
<td width="50%"><?=@number_format($fc['ges_verd'],0,",",".");?> <?=$waehrung;?></td>
</tr>
<tr>
<td width="50%">Ø pro Klick</td>
<td width="50%"><?=@number_format($fc['ges_verd']/$fc['gesamt'],2,",",".");?> <?=$waehrung;?></td>
</tr>
</table>
<?foot();?>
So hab ich es bei uns