0
Hello, I’m looking to create a blog system for my site and I have an initial idea of how to do it, very basic.
In basic, I would have one that will send the text of a <textarea>
to the database, together with the author, date, etc..
In the textarea I noticed that it is possible for the user to put html tags (<div>
, <p>
..) then I will use php htmlentities to prevent the user from using such tags and end up damaging the site layout (it is normal this?).
With this, I would like to know how to implement options such as leaving text in bold, placing an image, a url, etc.. I’d just like a few tips on how to implement this...
The one of the url has some sites that in the post it shows a preview of the site and tals..