getGetMeetingsUrl(); echo $test; ---END DEBUG */ $itsAllGood = true; try {$result = $bbb->getMeetingsWithXmlResponseArray();} catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), "\n"; $itsAllGood = false; } if ($itsAllGood == true) { // If it's all good, then we've interfaced with our BBB php api OK: if ($result == null) { // If we get a null response, then we're not getting any XML back from BBB. echo "Failed to get any response. Maybe we can't contact the BBB server."; } else { // We got an XML response, so let's see what it says: if ($result['returncode'] == 'SUCCESS') { // Then do stuff ... echo "
We got some meeting info from BBB:
"; // You can parse this array how you like. For now we just do this: print_r($result); } else { echo "We didn't get a success response. Instead we got this:
"; print_r($result); } } } ?>