I would like to write a script that will insert html code (from a text box) into my database, and later retrieve it and print it rendered on the screen.
With the code/text I have now, I don't think I will run into any problems, but I'm not sure what would happen if people put in funny characters. Are there any PHP functions that will safely encode everything for me for MySQL insertion, and later decode it when needed?
Thanks!