title: Parse error: syntax error, unexpected '$id' (T_VARIABLE) in line 15
body: <pre><code>public function addData($name, $address, $fee) {
      $data = array("name" =&gt; $name, "address" =&gt; $address, "fee" =&gt; $fee);
      $id = $this-&gt;db-&gt;insert(array($this-&gt;table =&gt; $data));
  </code></pre>
  
  <p>What is the error on line 15</p>