I'm creating a website and I'm getting PHP error. I created it on my laptop using WAMP. I copy mostof my files up and my index page loaded but when I added some PHP include file this errorpops up It is a simple function hat it won't load.
<? php function load_category_page($category) { } ?>
PHP Parse error: syntax error, unexpected 'function' (T_FUNCTION) in public_html/includes/header.php on line 39
Hi @DavidFleming. Thanks for being part of GoDaddy Community! I'm not a PHP developer, but many times issues like this are related to the version of PHP for the hosting plan. You may want to try changing that to match up with what you have installed (if possible) on your WAMP machine. Hope that helps. If not, feel free to provide more information. Others in the community may be able to provide you with additional suggestions.