Parse error: syntax error, unexpected ';'
<p>Hallo</p>

<p>I have this script:</p>

<pre><code>&lt;?
  require("lib2/config.inc.php");
  require("lib2/tpl.class.php");
  require("lib2/db.class.php");
  require("lib2/um.class.php");


  $tpl          = new template("templates", "tpl");
  $db         = new db($db['location'], $db['username'], $db['passwort'], $db['database']);
  $um         = new usermanagment();


  /** User login **/

  $checklogin       = $um-&gt;check_login();
  $userdata       = $um-&gt;getuserdata();

  if(!$checklogin &amp;&amp; !$guest) {
    header("LOCATION: ./index2.php");
  }

  eval("\$header .= \" ".$tpl-&gt;get("header")."\";");
  eval("\$footer .= \" ".$tpl-&gt;get("footer")."\";");

$time     = time();
$db-&gt;Query("UPDATE userdaten SET lastaction = '$time' WHERE userid = '".$userdata['userid']."'");
?&gt;
</code></pre>

<p>And get this error:
Parse error: syntax error, unexpected ';' in /home/httpd/html/login/global.php(22) : eval()'d code on line 96</p>

<p>Any ideas?</p>
