have simple database connection
use a foreach loop, quick and clean.