File: D:/HostingSpaces/SBogers10/komma-mediadesign.nl/wwwroot/ledubsms/teams.php
<h1>Teams</h1>
<table cellpadding="20" cellspacing="0" border="0">
<tr height="40">
<th style="padding-left:15px;" width="250">Teamnaam</th>
<th width="150">Team nummer</th>
<th width="200">Telefoonnummer</th>
<th width="200">Taal</th>
</tr>
<?php
$q_nieuws = "SELECT kms_sms.sms_id, kms_sms.team_naam, kms_sms.team_nummer, kms_sms.telefoonnummer, kms_sms.taal FROM kms_sms ORDER BY kms_sms.sms_id ASC";
$r_nieuws = mysql_query($q_nieuws);
$kleur = true;
while($rec_nieuws = mysql_fetch_assoc($r_nieuws)){ ?>
<tr height="50" <?php if($kleur) { echo("style=\"background-color:#eee\""); $kleur = false; }else{ $kleur = true; }?>>
<td style="padding-left:15px;"><?php echo(html_entity_decode($rec_nieuws['team_naam'])); ?></td>
<td><?php echo(html_entity_decode($rec_nieuws['team_nummer'])); ?></td>
<td><?php echo(html_entity_decode($rec_nieuws['telefoonnummer'])); ?></td>
<td><?php echo(html_entity_decode($rec_nieuws['taal'])); ?></td>
</tr>
<?php } ?>
</table>