Ich hab gestern auch mal diebezüglich hier rum getestet, man könnte doch die ganze sache in etwa so gestalten,
PHP-Code:
<script type="text/javascript">function selectCat(main,cats) { catArr = cats.split(",");
if(document.getElementById(main).checked) check = true; else check = false; for(i=0;i<catArr.length;i++)
document.getElementById("c" + catArr[i]).checked = check; }
</script>
<table border='0' cellpadding='5' cellspacing='0'><tr><td class='tablecat' style='font-weight:bold;' nowrap='nowrap'>
<a href='/browse.php?cat=81'>Filme</a></td><td class='tablea' nowrap='nowrap'><input id='81' name='81' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=61'>Serien</a></td><td class='tablea' nowrap='nowrap'><input id='61' name='61' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=9'>Dokus</a></td><td class='tablea' nowrap='nowrap'><input id='9' name='9' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=48'>HDTV/720p</a></td><td class='tablea' nowrap='nowrap'><input id='48' name='48' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=43'>DVD-RIP/Special-DVD</a></td><td class='tablea' nowrap='nowrap'><input id='43' name='43' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=81'>Xvid/DivX/Mp4</a></td><td class='tablea' nowrap='nowrap'><input id='81' name='81' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=93'>HDTV/1080p</a></td><td class='tablea' nowrap='nowrap'><input id='93' name='93' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=97'>BD-RIP</a></td><td class='tablea' nowrap='nowrap'><input id='97' name='97' type='checkbox' style='margin:0px;padding:0px' value='1' />
<a href='/browse.php?cat=104'>Sonstige</a></td>
das is natürlich nur ein teil,seit nich so streng mit mir ,ich lerne noch ^^
nen DB eintrag hab ich noch nicht.