Welcome, Guest
Username: Password: Remember me

TOPIC: about list_participants (by a nob api user)

about list_participants (by a nob api user) 4 months 4 days ago #110982

  • fdewas
  • fdewas's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I try to use list_participants api (called on phpfox). Here is the code:

// $surveys = $myJSONRPCClient->list_surveys( $sessionKey );
// foreach($surveys as $survey) {
// echo $survey.'<br/>';
// $participants = $myJSONRPCClient->list_participants( $sessionKey, $survey, 0, 10, true, false );
// foreach($participants as $participant) {
// echo $participant.'<br/>';
// }
// }

i can list surveys by sid
i can print result of $participants with "print_r($participants , null );"
but "echo $participant.'<br/>';" give me no result (blank lines).

What's wrong ??
Please give me a step by step :)
thanks
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.083 seconds
Donation Image