Parse error, syntax error

Started by eaglesoars, October 18, 2009, 11:07:27 PM

Previous topic - Next topic


I'm getting this error ans I have no clue why, I have searched and searched and can not see what's wrong. I know it is probably something simple I'm just not seeing.

QuoteParse error: syntax error, unexpected T_STRING, expecting ')' in /home/teamtroo/public_html/forum/Sources/Subs.php on line 4062

This is line 4059 thru 4073:

Quote// Now we put the buttons in the context so the theme can use them.
      $menu_buttons = array();
      foreach ($buttons as $act => $button)
         if (!empty($button['show']))
            $button['active_button'] = false;

            // Make sure the last button truely is the last button.
            if (!empty($button['is_last']))
               if (isset($last_button))
               $last_button = $act;


Can you attach your entire file?
Jason Clemons
Former Team Member 2009 - 2012