I am using a template system and I have been pondering what the addslashes() function can do for me and if/when I should use it when inserting stuff into the database.

Any help would be much appreciated