<pre><code>class Score
{
    var $score;
    var $name;
    var $dept;
    var $date;

    function Score($score, $name, $dept, $date)
    {
        $this-&gt;scores = ($score);
        $this-&gt;name = ($name);
        $this-&gt;dept = ($dept);
        $this-&gt;date = ($date);
    }

    function return_score(){
        return $this-&gt;scores;
        return $this-&gt;name;
        return $this-&gt;dept;
        return $this-&gt;date;
    }
}

$newscore = new Score("131313","James", "Marketing", "19/05/2008");
echo $newscore-&gt;return_score();
</code></pre>

<p>The above code is only echoing 131313. I am just beginning to learn OO PHP so please go easy! Totally lost, so any help would be much appreciated.</p>

You can only return one value in each function or method.
In your situation, you should have a method for each of the class members:
```
```
public function getScore() {
   return $this->score;
}

public function getName() {
   return $this->name;
}

public function getDept() {
   return $this->dept;
}

public function getDate() {
   return $this->date;
}
```
```
Edit after the comments:
You could also need a method that returns all the members as a single string:
```
```
public function getAll() {
   return $this->getScore(). " " .$this->getName() . " " .$this->getDept(). " " .$this->getDate();
}
```
```