How to Get returned value from php in PHP -


I am using two files in php to make a function call and the second one processes and returns the Jason object Does.

My question is,

How to get back the value from PHP I

File 1 calling function -

  $ realtimestats Obj = new realities (); $ Realities oz - & gt; GetDetails ($ IMEI, $ Conn); Buzz $ realtimestats oz;   

File 2 return value -

  $ response = json_encode ($ realtimestats); $ Refund;   

Return some values ​​to 2 files here. How to obtain return value and use that value in file 1

Find the result in a variable and echo:

  $ result = $ realtimestats obj-> GetDetails ($ imei, $ con); var_dump ($ result);    

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -