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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -