I use this code to genefate html
echo \"\";
Everything would be OK unles
As Damien said; use addslashes :)
$param=addslashes($param); echo "";