I was after a few lines of code where the server would automatically escape/filter POST data before inserting into database.
It turns out that mysql_add_slashes() does the job but it causes more problems than anything and
it is not advisable to use this function and
it has been discontinued since PHP 6.0 - https://nex1music.ir/آهنگ-مهدی-احمدوند-جنون/