Datatable warning unknown parameter (table id = 'sample_1')
<p>I am using <code>jquery.dataTables.js</code>. When I want to search the data from database I've received this error:</p>

<blockquote>
  <p>Datatable warning unknown parameter (table id = 'sample_1'):requested unknown parameter '0' from the data source 1</p>
</blockquote>

<p>This is my source code.</p>

<pre><code>&lt;table class="table table-striped table-bordered" id="sample_1"&gt;
     &lt;thead&gt;
         &lt;tr&gt;
             &lt;th&gt;ID&lt;/th&gt;
             &lt;th&gt;T&lt;/th&gt;
             &lt;th&gt;F&lt;/th&gt;
             &lt;th &gt;L&lt;/th&gt;
             &lt;th &gt;J&lt;/th&gt;
             &lt;th &gt;Der&lt;/th&gt;
             &lt;th &gt;G&lt;/th&gt;
             &lt;th &gt;C&lt;/th&gt;
          &lt;/tr&gt;
     &lt;/thead&gt;
     &lt;tbody&gt;

     &lt;?php
          if(isset($_POST['submit'])){
                $searchValue='';

                if($_POST['city_name']=='a'){
                     $searchValue = $_POST['date'];
                     $myQuery = mysql_query("select * from users where date='$searchValue'");

                }
                if($_POST['city_name']=='b'){
                     $searchValue = $_POST['city'];
                     $myQuery = mysql_query("select * from users where city='$searchValue'");

                }
                if($_POST['city_name']=='c'){
                     $searchValue = $_POST['gender'];
                     $myQuery = mysql_query("select * from users where gender='$searchValue'");
                }
                if($_POST['city_name']=='d'){
                     $searchValue = $_POST['topic'];
                     $myQuery = mysql_query("select * from users where topic='$searchValue'");
                }

                //$number      =1;
                while($row = mysql_fetch_array($myQuery)    ){
                    //$id=$row['id'];
                    echo "&lt;tr&gt;
                                &lt;td&gt;"."1"."&lt;/td&gt;
                                &lt;td&gt;".$row['d']."&lt;/td&gt;
                                &lt;td&gt;".$row['n']."&lt;/td&gt;
                                &lt;td&gt;".$row['l']."&lt;/td&gt;
                                &lt;td&gt;".$row['j']."&lt;/td&gt;
                                &lt;td&gt;".$row['t']."&lt;/td&gt;
                                &lt;td&gt;".$row['g']."&lt;/td&gt;
                                &lt;td&gt;".$row['c']."&lt;/td&gt;

                            &lt;tr&gt;";
                            $number++;
                 }  
            }
     ?&gt;
     &lt;/tbody&gt;
&lt;/table&gt;
</code></pre>

<p>I searched a lot but didn't find any solution.</p>