science-ation/admin/fundraising_common.inc.php

13 lines
369 B
PHP
Raw Normal View History

<?
$campaign_types=array("Mail","Email","Phone","Personal Visit","Event","Other");
$salutations=array("Mr.","Mrs.","Ms","Dr.","Professor");
2009-10-11 19:49:04 +00:00
function getGoal($goal) {
2025-01-28 14:58:54 -05:00
global $config, $pdo;
2024-12-08 02:42:00 -05:00
$q=$pdo->prepare("SELECT * FROM fundraising_goals WHERE goal='$goal' AND fiscalyear='{$config['FISCALYEAR']}' LIMIT 1");
$q->execute();
2025-01-28 14:58:54 -05:00
return $q->fetch(PDO::FETCH_OBJ);
2024-12-17 01:34:35 -05:00
}
2009-10-11 19:49:04 +00:00
?>