Thomas -- ...and then Thomas Moore said... % ... % showMasterCategories($year, $model_id, $syear_model_id, $keyword, $make_id, % $display_mode, $catid) % { % $category_array2[$i] = getParent($category_id, $year_model_id, $i, $catid); % } % % % function getGrandParent($cat_id, $year_model_id, $x) { ...
Are you actually using getGrandParent, or where is your getParent code? If the former, why are you passing $catid to getGrandParent if it's not expecting it? Let's make sure we're working with the right code before we try to debug ;-) HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg96920/pgp00000.pgp
Description: PGP signature