Showing syntax error in this code
<p>I tested this code in WAMP server</p>

<pre><code>&lt;?php
    $conn = mysql_connect ("localhost", "root","")  or die (mysql_error());
    mysql_set_charset('utf8',$conn);
    mysql_select_db ("movedb");

    $values = new Array();
    $i = 0;
    $text = $_POST['jam'];
    $arrayText = explode(" ", $text);
    foreach($arrayText as $val) {
        $query = mysql_query("SELECT * FROM WORD WHERE ENGLISH = '$val'");
        while($r = mysql_fetch_array($query)) {
            $values[$s] = $r['SINHALA'];
            $i++;
        }
    }

    foreach($values as $val) {
        echo $val.' ';
    }
?&gt;
</code></pre>

<p>but showing this error</p>

<pre><code>Parse error: syntax error, unexpected 'Array' (T_ARRAY)
</code></pre>
