AWeber Api subscribers problem
I'm having problem in AWeber's Api with PHP,
see the code below:
$email = 'soeemail@somesite.com';
foreach($account->lists as $offset => $list) {
$subscriber = $account->loadFromUrl("/accounts/$account->id/lists/$list->id/subscribers?ws.op=find&email=$email");
echo $subscriber->id;
break;
}
The problem is that $subscriber variable contains the subscriber information, and when I use print_r() or var_dump() it shows the contents of it, but when I try to print the id or anything else of the subscriber using echo or any printing functions, it shows nothing !!
Please help me fast, I don't know how to fix this.
Thanks
-
stma -
Thanks
{{ DiscussionBoard.errors[3673709].message }} -
-
deltacolo -
Thanks
{{ DiscussionBoard.errors[4747797].message }} -