so hab mal ne frage ich habe folgende ausgabe geschrieben mir fehlt noch was ich möchte da unten wo gesamt steht die marktwerte adieren lassen weis nur nicht wie ich das mache ngl-fifa.de/include.php?path=test hier damit ihr wisst was ich meine
mein Code:
Alles anzeigen
mein Code:
Quellcode
- <?php
- if(!defined('pkFRONTEND') || pkFRONTEND!='public')
- die('Direct access to this location is not permitted.');
- if(!getrights('user'))
- {
- pkEvent('access_refused');
- return;
- }
- $sname = pkgetconfig('site_name');
- $query = "SELECT _spi,_nr,_pos,_st,_ver,_mkw,_bem FROM ".phpkit_spieler." WHERE _ver LIKE 'SV Werder Bremen' ORDER BY _nr ";
- $test = $SQL->query($query);
- while ($row = $SQL->fetch_array($test)){
- eval("\$lm10_row.=\"".pkTpl("lm10_row")."\";");
- }
- echo'<table class="heads" align="center" width="100%" cellspacing="0" cellpadding="4">
- <tr>
- <th class="heads" width="20%" nowrap="nowrap" align="left">Spieler</th>
- <th class="heads" width="5%" nowrap="nowrap" align="left">Position</th>
- <th class="heads" width="5%" nowrap="nowrap" align="left">Stärke</th>
- <th class="heads" width="25%" nowrap="nowrap" align="left">Verein</th>
- <th class="heads" width="15%" nowrap="nowrap" align="left">Marktwert in Euro</th>
- <th class="heads" width="25%" nowrap="nowrap" align="left">Bemerkung</th>
- </tr>
- '.$lm10_row.'
- tr>
- <th class="heads" width="20%" nowrap="nowrap" align="left"></th>
- <th class="heads" width="5%" nowrap="nowrap" align="left"></th>
- <th class="heads" width="5%" nowrap="nowrap" align="left"></th>
- <th class="heads" width="25%" nowrap="nowrap" align="left">Gesamt</th>
- <th class="heads" width="15%" nowrap="nowrap" align="left"></th>
- <th class="heads" width="25%" nowrap="nowrap" align="left"></th>
- </table>';
- ?>