some
improved code

add bindParams, ATTR_ERRMODE