Update interests.php

added dbio calls; renamed variables