General purpose PHP SQL helper