PHP קוד:
// קריאת קבוצות ניהול
$showgroups = mysql_query("SELECT * FROM agroups");
while($sgr = mysql_fetch_array($showgroups)) {
// סימון
foreach ($pre as $key => $val) { if ($val != $sgr[id]) {
echo"<input style='border: 0px;' type='checkbox' value='$sgr[id]' name='$sgr[module]'><b>$sgr[name]</b><br>"; }
}