The Chronicle of Philanthropy

America's Most-Generous Donors


\n"; $mysql_result2 = mysql_query($query2, $dbLink); while ($row2 = mysql_fetch_object($mysql_result2)) { $count_years = $row2->count_years; } if ($count_years > 1) { # $query3 = "SELECT SUM(Slate_gifts.Num_gifts) AS sum FROM Slate_gifts, Slate_donors, Slate_names WHERE (Slate_names.ID_Name=\"$ID_Name\") AND (Slate_donors.ID_Name=Slate_names.ID_Name) AND (Slate_donors.ID_Gift=Slate_gifts.ID_Gift)"; $query3 = "SELECT SUM(Slate_gifts.Num_gifts) AS sum FROM Slate_gifts, Slate_names WHERE (Slate_names.ID_Name=\"$ID_Gift\") AND (Slate_gifts.ID_Gift=Slate_names.ID_Name)"; # print "$query3

\n"; $mysql_result3 = mysql_query($query3, $dbLink); while ($row3 = mysql_fetch_object($mysql_result3)) { $sum = $row3->sum; } ?>

\n"; $mysql_result2 = mysql_query($query2, $dbLink); while ($row2 = mysql_fetch_object($mysql_result2)) { ?>


Copyright © 2006 The Chronicle of Philanthropy





Related materials







ARTICLE: Record-Breaking Giving (2/22/2007)

ARTICLE: How The Chronicle's Survey of Last Year's Top Donors Was Compiled (2/22/2007)

ARTICLE: Gambling on Education (2/22/2007)

ARTICLE: Box-Office Bonanzas (2/22/2007)

ARTICLE: Washington-Area Donors Support Struggling Wisconsin Towns (2/22/2007)

ARTICLE: The Audacity of Hope (2/22/2007)

ARTICLE: 'Winging It' for World Peace (2/22/2007)