Undefined variable
Posted: Thu Sep 11, 2008 2:24 pm
Ok I get this error...
Notice: Undefined variable: master_division_list in /home/rdghq/public_html/roster/functions/display.php on line 344
heres the fragment of coee within the page and the line is colored in red. I dont know why im getting that error... If you need me to show you the php file then please adsk and ill send you a txt file version in a PM. *its 1,959 lines*
Notice: Undefined variable: master_division_list in /home/rdghq/public_html/roster/functions/display.php on line 344
heres the fragment of coee within the page and the line is colored in red. I dont know why im getting that error... If you need me to show you the php file then please adsk and ill send you a txt file version in a PM. *its 1,959 lines*
Code: Select all
[color=#FF0000]if(is_array($master_division_list)) {[/color]
krsort($master_division_list, SORT_NUMERIC);
echo "<font size=1>";
foreach($master_division_list as $key=>$value) {
echo "<BR><u>".getRank($key)." - <b>".count($value)."</b></u><BR>";
asort($value);
foreach($value as $item) {
echo $item."<BR>";
}
}
}