Tuesday, November 10, 2009

Election fundraising - employer and occupation collection

The Election campaigns now require users to enter employer and occupation fields before donating, you can also have donors certify any provided statement before donating.

Get number of donors with PHP api

Here's some sample code (use your own PHP api code as a starting point - take your own $data = line:

$data = unserialize(file_get_contents("http://www.donationstracker.com/d/2953ae366c1bb45d/e94de7382a3b5532-1-13-2-74e720de.txt
echo "

Current donors are ".$data['donors']."