To co znajduje się w zarobku (netto) chcę żeby pokazywało sam wynik.
Tak to na razie wygląda

Obecny kod:
<?php include("polacz.php"); $query = mysql_query("select dystans*2 AS brutto, kosztpaliwa, floor(mandaty*0.1) AS mandacik, floor(dystans/500) AS bramki, floor(dystans*0.15) AS serwis, premia, kara from trasy where id_trasy='".(int)$_GET['id']."'"); // 1 { echo ' <tr> <th style="width:50%">Zarobek (brutto):</th> <td>'.$rekord[0].' ?</td> </tr> <tr> <th>Mandaty:</th> <td>- '.$rekord[2].' ?</td> </tr> <tr> <th>Koszt paliwa:</th> <td>- '.$rekord[1].' ?</td> </tr> <tr> <th>Koszta bramek:</th> <td>- '.$rekord[3].' ?</td> </tr> <tr> <th>Serwis:</th> <td>- '.$rekord[4].' ?</td> </tr> <tr> <th>Kara:</th> <td>- '.$rekord[6].' ?</td> </tr> <tr> <th>Premia:</th> <td>+ '.$rekord[5].' ?</td> </tr> '; } ?>