Re: Heredoc inside eval?

From: Date: Sat, 14 Feb 2009 17:21:39 +0000
Subject: Re: Heredoc inside eval?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-288264@lists.php.net to get a copy of this message
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 :)

« previous php.general (#288264) next »