OpenJS-Grid-master v2 and mysql
<p>I get the error <code>Unknown column 'first.' in 'field list'</code>. I have database named "try", a table named "first", with fields "id(int)" and "name(char)". Its just a sample table I am using to show its data in a grid, but am getting this Error. I have edited those default html and ajax files as follows:</p>

<p><strong>Index.php</strong></p>

<pre><code>&lt;!DOCTYPE html&gt;


&lt;link rel="stylesheet" href="bootstrap/css/bootstrap.css"/&gt;

&lt;link rel="stylesheet" href="grid.css" title="openJsGrid"/&gt;
&lt;!--&lt;link rel="stylesheet" href="jquery-ui/css/smoothness/jquery-ui-                          1.8.22.custom.css"/&gt;--&gt;
&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;!--&lt;script src="jquery-ui/js/jquery-ui-1.8.22.custom.min.js" type="text/javascript"&gt;   &lt;/script&gt;--&gt;
&lt;script src="root.js"&gt;&lt;/script&gt;
&lt;script src="grid.js"&gt;&lt;/script&gt;

&lt;script &gt;
$(function() {
$(".users").grid();
});

&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;h2&gt;Users&lt;/h2&gt;
&lt;table class="grid users" action="ajax.php"&gt;
    &lt;tr&gt;
                        &lt;th col="id" type="text"&gt;ID&lt;/th&gt;
        &lt;th col="name" type="text"&gt;Name&lt;/th&gt;
    &lt;/tr&gt;
&lt;/table&gt;

&lt;/body&gt;
</code></pre>

<p><strong>Ajax.php</strong></p>

<pre><code>&lt;?php
// connect to db
mysql_connect("localhost","root","");
mysql_select_db("try");

// require our class
require_once("grid.php");
$grid = new Grid("first", array(
"save"=&gt;true,
"delete"=&gt;true
 ));

 ?&gt;
</code></pre>
