I'm still kinda new to php and have been getting this error:
PHP Parse error: syntax error, unexpected T_STRING in /var/www/index.php on line 33
It's all running on a LAMP server in a local VM. Been looking at it for the last 2 days and can't find what is wrong, everything looks right to me. Is the error referring to just the code below, or is it actually referring to one of the includes? I've included what I think is just the relevant php section, not the whole page. Any help you guys can provide a novice is greatly appreciated.
<?php
$g_content = "";
include_once './php/filter.php'; // has to be first
filter_redirect();
//
include_once './php/db.php';
include_once './php/common.php';
include_once './php/session.php';
include_once './php/language.php';
$build_number = "9.0b"; $build = file_get_contents('.build');
define("PAGE_HOME",0);
define("PAGE_PLANNER",1);
define("PAGE_LOGIN",2);
define("PAGE_LOGOUT",3);
define("PAGE_SPELL",4);
define("PAGE_ITEM",5);
define("PAGE_SPELLS",6);
define("PAGE_ITEMS",7);
define("PAGE_TALENTS",8);
define("PAGE_FORUM",9);
define("PAGE_REGISTER",10);
define("PAGE_DONATE",11);
define("PAGE_RECOVER_PASSWORD",12);
define("PAGE_BASE_STATS",13);
define("PAGE_PLANNER_START",14);
define("PAGE_USER",15);
define("PAGE_CREDITS",16);
define("PAGE_PROFILES",17);
?><?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>