hello i was trying to insert whole html data into database for which i used
$details = htmlspecialchars(stripslashes(mysql_real_escape_string($_POST['message'])));
which seem to work fine as before it was giving error as there were extra "" while inserting the html for eg "<p>hello</p>" so by using the above it got inserted by now when i am trying to retrieve the data its not coming in correct format.
can some one point me what to use with <?php echo $row['details']; ?> to get the correct html format 
 
    