science-ation/admin/fundraising_common.inc.php

14 lines
383 B
PHP
Raw Permalink Normal View History

<?
$campaign_types = array('Mail', 'Email', 'Phone', 'Personal Visit', 'Event', 'Other');
$salutations = array('Mr.', 'Mrs.', 'Ms', 'Dr.', 'Professor');
function getGoal($goal)
{
2025-01-28 14:58:54 -05:00
global $config, $pdo;
2025-02-09 17:24:37 +00:00
$q = $pdo->prepare("SELECT * FROM fundraising_goals WHERE goal=? AND fiscalyear=? LIMIT 1");
$q->execute([$goal,$config['FISCALYEAR']]);
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
?>