the script you see below basically displays a 5 columns of categorys(check boxs).

if a user checks one of the category and hits the submit button it works.

problem: if a user checks 2 or more category's from the list it just keeps spinning and spinning eventually the page times out.

the processingscript.php --> is called from index.php and the processingscript.php basically has: print_r($_POST);

Any ideas as to why?

category is in file called index.php
PHP Code:
echo '<div>';
$categoryArray as $key => $td)
        {    if(
$key%$setColumn == 0) echo "<tr>";
'<td> <input type="checkbox" name="catselect[]" value=" '$td '"> '$td .        
$key%$setColumn == ($setColumn 1)) echo "</tr>";