fixed Did you remember to call setType() for 'name'? Defaulting to PARAM_RAW cleaning
fixed sql select (doesn't worked with psql) ' instead of "
Merge pull request #2 from jojoob/upstream

SQL and setType Bugfixes