Well, I am not good at scripting, and I am kinda Photoshop guy. I am also new at PHP, so please bear with me. I am currently creating web form generation class which needs to b
You can define variables inside the class:
class myclass
{
public $varname; // If you want public access
private $varname2; // access only for members of this class
protected $varname3; // access for members of this class and descendants
and use them in your methods like so:
echo $this->varname;
if for communication between two functions only, best declare them protected
.