Phph class to create secure sql request