I'm using 000webhost.com and uploaded all of my coding in it. But then this error shows up when I try open up the website:
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/a4350293/public_html/core/init.php on line 25
This is the line on init.php:
spl_autoload_register(function($class) {
require_once 'classes/' . $class . '.php';
});
Can anyone tell me where my error is? Can't seem to find it. Thanks, all help appreciated. This is the link to my website: http://educationexperts.host56.com/