I use this code to genefate html
echo \"\";
Everything would be OK unles
first do
// only for the GUY who didn't read the complete answer :( $param=addslashes($param);
then write code in simple HTML
Note: mysql_real_escape_string works when we handle with mysqltry with addslashes
mysql_real_escape_string
addslashes