addslashes($MY_HTML) might help?
http://ca3.php.net/manual/en/function.addslashes.php
John

Jay Blanchard wrote:

> [snip]
> Hi!
> i have:
> $html = '
>          <html>
>                MY HTML
>          </html>
>          ';
> Inside of my html i used ', this produced a parse error, how can i
> solved
> it?.
> [/snip]
>
> http://www.php.net/htmlentities

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to