You might consider using the Heredoc syntax, as presented here :
http://www.php.net/manual/en/ language.types.string.php#language.types.string.syntax.heredoc
Your code snippet would look like this and do exactly what you had intended :
$html = <<<EOD
<HTML>
YOUR HTML
</HTML>
EOD;Fran�ois
Le 04-09-22, � 11:55, Juan Pablo Herrera a �crit :
Hi!
i have:
$html = '
<html>
MY HTML
</html>
';
Inside of my html i used ', this produced a parse error, how can i solved
it?.
Regards,
JP
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

