Permalink
Browse files

added some else

  • Loading branch information...
1 parent 8869823 commit e2ec87bade18fd2fe9ef09779e9551c37420c0d1 Jordan Boesch committed Sep 18, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 example.php
View
@@ -37,6 +37,11 @@
{
print_r($fb->getResponse());
}
+else
+{
+ echo $fb->getError();
+ print_r($fb->getResponse());
+}
/**********************************************
* Create a recurring profile with multiple line items
@@ -72,4 +77,9 @@
$recurrng_id = $res['recurring_id'];
// Do something with the recurring_id you were returned
}
+else
+{
+ echo $fb->getError();
+ print_r($fb->getResponse());
+}
?>

0 comments on commit e2ec87b

Please sign in to comment.