Top Participant: Dallas-Ft. Worth Brain Tumor Walk

Saturday, November 12, 2016, Trinity Park, Fort Worth, TX

createConnection(‘/nas/wp/www/sites/brain/wp-content/themes/blankslate/search/soapclient/enterprise.wsdl.xml’);
$mylogin = $mySforceConnection->login($USERNAME, $PASSWORD);

// Pulls Participant Fields
$query = “SELECT Participant_First_Name__c, Participant_Last_Name__c, Participant_Page_URL__c, Participant_Goal__c, Event_Name__c, Search_Team_Name__c, team_Home_Page_URL__c, Total_Amount_Raised__c
FROM NBTS_Registration__c
WHERE Event_Name__c = ‘Nashville Brain Tumor Race’ AND Available_in_Search__c = TRUE
ORDER BY Total_Amount_Raised__c DESC”;

$response = $mySforceConnection->query($query);

echo ‘

‘;
echo ‘
‘;
echo ‘
‘;
echo ‘
‘;
echo ‘

Search for a participant‘;
echo ‘

‘;

echo ‘

‘;

foreach ($response->records as $record) {
if ($record->Total_Amount_Raised__c != null) {
echo ‘