I'm very new to PHP and I'm currently working my way through this book:http://rads.stackoverflow.com/amzn/click/0672329166So I'm at Chapter 6: Object-oriented PHP and I'm finding this topic really difficult to comprehend.Firstly, what does\[code\] public function __set($name, $value){ $this->$name = $value;}\[/code\]do? Same goes for __get.After reading most of the chapter and not really understanding it, I thought I'd try and implement classes and objects in my site so I could maybe understand through experimentation.I haven't gotten very far Here's what I've got (class_lib.php):\[code\]<?phpclass Page{ public $header = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n <html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />"; public function __set($name, $value) { $this->$name = $value; } public function Display() { $this -> DisplayHeader(); } public DisplayHeader() { echo $this->header; }}\[/code\]?>And (index.php):\[code\]<?phprequire("class_lib.php");$class = new Page();$class->Display();\[/code\]?>The error I get when I load the file in Google Chrome is:\[quote\] Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE in C:\wamp\www\PS v3 (PHP)\class_lib.php on line 15\[/quote\]I suppose if I knew what __set meant, I might have stood a chance at figuring that part out.Any answers / advice would be massively appreciated