Hi All,
I am getting an undefined error in the following code
Undefined variable: Settings in C:\wamp\www\sessions\index.php on line 14(last line)
Any help would be appreciated
Thanks in advance
David
class SiteSettings {
var $Settings;
function SettingValues() {
$Settings['WS-Filepath'] = "/wamp/crud/view.php/";
$Settings['WS-HTTPpath'] = "http://localhost/crud/view.php/";
$Settings['DB-Hostname'] = "localhost";
$Settings['DB-Username'] = "root";
$Settings['DB-Password'] = "";
$Settings['DB-Database'] = "db301847341";
return $Settings;
}
}
header("Location: " . $Settings['WS-HTTPpath']);