gaimung wrote in php

Little help please.

Wondering if someone can give me a hand with this code I'm trying to use. I can't find my error so I'm hoping someone can be my second eyes and catch it. I used a tutorial as I'm quite a newbie to php so anyone that can help, I'll be grateful.

I get this error - "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/silveri/public_html/beta/index.php on line 7"

Here is the code from index.php that I'm trying to use:

<?php
require_once("lib/template.php");

$page = new Page("template.html");

$page->replace_tags(

array(
  "title" => "HOME",
  "descript" => "Welcome to my website!",
  "main" => "dat/index.dat",
  "menu" => "dat/menu.dat",
  "left" => "dat/submenu.dat",
  "right" => "dat/right.dat",
  "footer" => "dat/footer.php"
);

);

$page->output();
?>

Is there something I missed?

Update After many hours and with some help, problem fixed.