Page 1 of 1

class and $this->text?

Posted: Thu Jun 05, 2003 6:15 pm
by Mr. Tech
Hi!

I have been looking at different PHP scripts and have noticed these things:

Code: Select all

<?php
class word {
ect. etc.
}
?>
and

Code: Select all

<?php
$this->text = "blah blah";
?>
What is that? Where can i find more info on it?

Thanks

Posted: Thu Jun 05, 2003 6:20 pm
by m3mn0n

Posted: Thu Jun 05, 2003 7:05 pm
by patrikG
Also googling yielded a nice little tutorial which, I think, is what you are looking for.

Posted: Thu Jun 05, 2003 10:21 pm
by Mr. Tech
That's it, thanks!

Posted: Thu Jun 05, 2003 10:21 pm
by Mr. Tech
Also, would you reccomend using this?