Jump to content

AndrewFTW

New Members
  • Posts

    2
  • Joined

  • Last visited

AndrewFTW's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have a error in line 24 on my code Code error on website: Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /core/init.php on line 24 Here's the code: <?php session_start(); $GLOBALS['config'] = array( 'mysql' => array( 'host' => 'i added my host here', 'username' => 'i added my username', 'password' => 'and pass', 'db' => 'and password' ), 'remember' => array( 'cookie_name' => 'hash', 'cookie_expiry' => 604800 ), 'session' => array( 'session_name' => 'users', 'token_name' => 'token' ) ); error here: spl_autoload_register(function($class) { require_once 'classes/' . $class . '.php'; }); require_once 'functions/sanatize.php'; I don't know what it means by the error. But its around where i said the error is.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.