science-ation/admin/fundraising_common.inc.php

12 lines
380 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;
$q = $pdo->prepare("SELECT * FROM fundraising_goals WHERE goal='$goal' AND fiscalyear='{$config['FISCALYEAR']}' LIMIT 1");
2024-12-08 02:42:00 -05:00
$q->execute();
2025-01-28 14:58:54 -05:00
return $q->fetch(PDO::FETCH_OBJ);
2024-12-17 01:34:35 -05:00
}