Welcome Guest, Not a member yet? Register   Sign In
Hello
#2

[eluser]alanphil[/eluser]
(NOTE: I'm taking a Java class this semester, which may be screwing with my ability to think in PHP. I'm sure a PHP guru will correct me if I'm wrong!)

You have a Class R with two defined methods. Make your variables "instance variables" of Class R (not outside the class). Then these variables will be available to any methods in Class R.

Alan


Messages In This Thread
Hello - by El Forum - 03-26-2009, 12:53 PM
Hello - by El Forum - 03-26-2009, 01:05 PM
Hello - by El Forum - 03-26-2009, 01:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB