error parsing in php
<pre><code>&lt;?php

/* User info to access to db */

$db_host = "";

$db_name = "";

$db_user = "root";

$db_pass = "root";

/* Create an object patient */

class patient
{
    public $name;
    public $surname;
    public $address;
    public $birth_place;
    public $province;
    public $birth_date;
    public $sex;
    public $case;

    public __construct($nm,$sur,$addr,$bp,$pr,$bd,$sx,$cs) &lt;-- line 26
    {
        $this-&gt;name = $nm;
        $this-&gt;surname = $sur;
        $this-&gt;address = $addr;
        $this-&gt;birth_place = $bp;
        $this-&gt;province = $pr;
        $this-&gt;birth_date = $bd;
        $this-&gt;sex = $sx;
        $this-&gt;case = $cs;
    }

}
</code></pre>

<p>?></p>

<p>I get this error:</p>

<pre><code>Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE on line 26
</code></pre>

<p>why? where is the mistake?</p>
