User Profile

Collapse

Profile Sidebar

Collapse
Rui Gonçalves
Rui Gonçalves
Last Activity: Jun 7 '11, 11:09 AM
Joined: Jun 7 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hello again,

    Sorry for wasting your time (and mine as well), it was really a bad spelling error.
    Code:
    $result->return->operationSuccefull
    works.

    Any way, thanks for such a quick reply.

    Rui
    See more | Go to post
    Last edited by Niheel; Jun 7 '11, 11:26 AM. Reason: Questions should be posted in new threads.

    Leave a comment:


  • Rui Gonçalves
    started a topic access stdClass object called '$result'
    in PHP

    access stdClass object called '$result'

    Hello,

    I have a stdClass object called '$result' like this:

    Code:
    stdClass::__set_state(array(
       'return' => 
      stdClass::__set_state(array(
         'operationSuccessful' => true,
         'userStatus' => 'A',
         'validUser' => true,
      )),
    ))
    How can I access to operationSuccef ull or userStatus?
    I tried
    Code:
    $result->return->operationSuccefull
    ...
    See more | Go to post
    Last edited by Dormilich; Jun 7 '11, 10:45 AM. Reason: added [code] tags
No activity results to display
Show More
Working...