All pastes #948971 Raw Edit

Something

public php v1 · immutable
·published 2008-03-19 15:16 UTC
rendered paste body
for($s=1;$s<100;$s++){        if(!array_key_exists($s, $cate))        {  				break;        }				if (!array_key_exists(1, $cate[$s]))		    {				break;        }               for($t=1;$t<100;$t++)        {                 if(!array_key_exists($t, $cate[$s]))                {  						break;                }								//print(sizeof($catestrings));							                // This will turn the array into a string with all subcategories, separated by ;.                // For example, 0;3;53 if subcategory 0, 3 and 53 are checked                $catestrings[$s][$t] = implode(';', $cate[$s][$t]);				        }		}