[snip] Your HEREDOC appears to be messed up. On line 623 the closing identifier is not in first column of the line (when I cut n paste the code into an editor. That is a requirement for the heredoc. You also didn't close the PHP block after END_FORM; Then you need to open a PHP block at about line 635 before the if statement. [/snip] Were you able to resolve this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php