Autocomplete from php source file requerying source page rather than call PHP Source file
<p>I am trying to use the JQuery Autocomplete with PHP source file, but when I check with FIREBUG I see on change of the Input field, the page is just requerying itself rather than call my source PHP file</p>

<p>Code Segment</p>

<pre><code>$().ready(function() {
    $("#item_name").autocomplete("./utilities.php?op=autocomplete", {
        width: 260,
        matchContains: true,
        //mustMatch: true,
        minChars: 2,
        //multiple: true,
        //highlight: false,
        //multipleSeparator: ",",
        selectFirst: false
    });
});
</code></pre>

<p>PHP SOURCE FILE</p>

<pre><code>if($op=='autocomplete'){
        $dataset = array();
        $item_name = $_REQUEST['item_name'];
        if (!$item_name) return;
        $sql = "select select concat(item_id,' - ',item_name) item from payment_items where item_name like '%$item_name%'";
            //echo $sql;
            $result = mysql_query($sql);
            if($result){
            for($i=0; $i&lt;$numrows; $i++){
            $row = mysql_fetch_array($result);
            echo $row['item'];
            }
            }

    }
</code></pre>

<p>The utilities file is a UTILITY PAGE so the need to define an $op parameter to determine what I want to achieve.</p>

<p>Thanks for the help</p>
