Why don't you handle this from within your script? If all you want is to print out 30 email addresses per page, just select all the addresses and only print out 30 at a time.
The way you've set up your database really limits your options of pulling out data.