I have a database with tables with 4mio addresses categorized in branches. The table has 6-10 columns.
I need a script where you can choose a branch (for every table one branch), and after that ZIP code, city or state, phone number (yes/no) and more detail. Then by pressing a button the script should count the number of addresses which are fitting to the selection, listing the details of exact number and details and multiply it with a price per address which should be possible to modify.
1-1000 addresses: 0,5$ per address
1001-10000: 0,2$ per address
10000-x: 0,1$ per address
After that it should be possible that the visitor can click on buy and gets the possibility to pay via mb or paypal. The data should be transformed to *.csv and directly prepared for download after payment.
Shouldn't be a big thing for an expert.