Hello all,
I want to save real HTML tags into my mysql database.
I use
$p = htmlentities($c ontent);
to convert the strange characters to real html.
Then from another page i echo the content from the database and i see real
html tags which is what i want.
But in the database its still saved as:
p><strong >sdfsdfsdfsd fsdfsdf</stro.
How can i save normal HTML tags in my database??
Thanks a lot
Danny
I want to save real HTML tags into my mysql database.
I use
$p = htmlentities($c ontent);
to convert the strange characters to real html.
Then from another page i echo the content from the database and i see real
html tags which is what i want.
But in the database its still saved as:
p><strong >sdfsdfsdfsd fsdfsdf</stro.
How can i save normal HTML tags in my database??
Thanks a lot
Danny
Comment