php syntax, parse error
<p>I new to php, help me find syntax error, please.</p>

<pre><code>&lt;?php
public function SiteOption($value) {
    $query = $tc_db-&gt;GetOne('SELECT `'.$value.'` FROM `'.KU_DBPREFIX.'siteoptions`');
    if (count($query) &gt; 0) {
        return $query;
    } else {
        return 'Error!';
    }
}
?&gt;
</code></pre>

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

<blockquote>
  <p>syntax error, unexpected T_PUBLIC in file.php on line 2 </p>
</blockquote>
