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/molen.komma.pro/wwwroot/kms/categorie_overzicht.php
<h1>Categorie&euml;n</h1>

<p><br /><a href="index.php?p=categorie_toevoegen" title="Categorie toevoegen">Categorie toevoegen</a></p>

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

<?php

	$q_cases = "SELECT kms_categories.categorie_id, kms_categories.categorie_name FROM kms_categories ORDER BY categorie_name ASC";
	$r_cases = mysql_query($q_cases);
	
	$kleur = true;
	
	while($rec_cases = mysql_fetch_assoc($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['categorie_name'])); ?></td>
            <td><a href="index.php?p=categorie_wijzigen&amp;categorie_id=<?php echo($rec_cases['categorie_id']); ?>">Wijzigen</a></td>
            <td><a href="index.php?p=categorie_verwijderen&amp;categorie_id=<?php echo($rec_cases['categorie_id']); ?>">Verwijderen</a></td>
        </tr>
<?php } ?>

</table>