Hehe ok..First problem was that eval() was giving error because there was double-quotes in the template.
Second problem an attempt to fix problem 1 by wrapping the template in a heredoc syntax.
Problem 1 I solved as described with add/strip-slashes().Out of curiosity I will test your suggestions to see if they would have worked and this I will post back on :)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php