• Hi.

    I want to include a php file in my solution, and try this:
    require_once(TEMPLATEPATH.’/include/fileBrowser.php’);

    But I get this error:
    Parse error: parse error, expecting `T_FUNCTION’ in I:\Development\wamp\www\norwegianfashion\wp-content\themes\norwegianfashion\include\fileBrowser.php on line 14

    Now, it doesn’t how many lines I add before of after line 14, it always says the same thing.

    Currently line 14 is a text that is commented out.

  • The topic ‘Not able to include files in functions.php’ is closed to new replies.