Replaced escape function

PDO:quote was not performing as expected. Tested with PDO:prepare()->queryString however this did not escape the parameters.
Replaced function as addslashes.