support for standardization of input and mysql string preparation