mod_price: added db support.