Re: getting response string/object from php classes
Posted: October 30th, 2012, 1:27 am
I see 'hi' and 'hiStr' are both null?
They were till I added $hi to the global variables. After that both properties $hi and phpObj.hi showed up with the correct strings as their values. However I still receive the same error message as above.
I can show my code but really most of the functionality Im testing is only using the sample (hence all the hi() functions). The main difference however is the
- Code: Select all
Using
As you pointed out earlier, these statement do work if placed with the same using block as the declaration of phpObj. But outside of the statement it does not.