htmlentities
htmlentities
htmlentities
comment
htmlentities
added optional function to enable more error logging
uncomment to activate
mor info on error logging
change to activate