<? $campaign_types = array('Mail', 'Email', 'Phone', 'Personal Visit', 'Event', 'Other'); $salutations = array('Mr.', 'Mrs.', 'Ms', 'Dr.', 'Professor'); function getGoal($goal) { global $config, $pdo; $q = $pdo->prepare("SELECT * FROM fundraising_goals WHERE goal='$goal' AND fiscalyear='{$config['FISCALYEAR']}' LIMIT 1"); $q->execute(); return $q->fetch(PDO::FETCH_OBJ); } ?>