i keep getting this error: "Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in" and i have no idea why
here is the code i have: config.php
class title {
public $websiteTitle = "djkndk";
public function setWebsiteTitle($set) {
$this->websiteTitle = $set;
}
}
and this is where its implemented... or an attempt \
require_once("./config.php");
$title = new title;