ANma_HTML2DB + ANma_DB2HTML + ...

Convert HTML text into DB-safe string, by converting some characters as below.
Cannot believe that I do not have this here before now.
Replacing ' with {{$Q$}}
Replacing " with {{$QQ$}}
Replacing \ with {{$BS$}}
Replacing / with {{$FS$}}
Replacing > with {{$GT$}}
Replacing < with {{$LT$}}
Replacing Enter (or
) with {
}
And back

Those two has t be used together everytime we read from or save into DB

Edit 2020-08-07: Added ANma_DB2Str and ANma_Str2DB2


Public

Tested

My Own Work

strHTML
or
strDB

Views 2922
Downloads 1079