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/vangogh.komma-mediadesign.nl/wwwroot/kms/merk_overzicht.php
<h1>Merken</h1>

<p><br /><a href="index.php?p=merk_toevoegen" title="Merk toevoegen">Merk toevoegen</a></p>

<table cellpadding="20" cellspacing="0" border="0">
    <tr height="30">
	    <th width="40"></th>
        <th width="400">Merknaam</th>
        <th width="110">Wijzigen</th>
        <th width="110">Verwijderen</th>
    </tr>

<?php

	$q_cases = "SELECT kms_brands.brand_id, kms_brands.brand_name FROM kms_brands ORDER BY brand_name ASC";
	$r_cases = mysql_query($q_cases);
	
	$kleur = true;
	
	while($rec_cases = mysql_fetch_array($r_cases)){ ?>
        <tr height="30" <?php if($kleur) { echo("style=\"background-color:#eee\""); $kleur = false; }else{ $kleur = true; }?>>
        	<td>&nbsp;</td>
            <td><?php echo(html_entity_decode($rec_cases[1])); ?></td>
            <td><a href="index.php?p=merk_wijzigen&amp;merk_id=<?php echo($rec_cases[0]); ?>">Wijzigen</a></td>
            <td><a href="index.php?p=merk_verwijderen&amp;merk_id=<?php echo($rec_cases[0]); ?>">Verwijderen</a></td>
        </tr>
<?php } ?>

</table>