HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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>