bootstrap datatable pagination table not working
<p>bootstrap datatable pagination  table not working what am i doing wrong?  i think there is problem with files can anyone see what am i doing wrong </p>

<p>Live website link is <a href="http://www.choicebusinesscollege.com.au/test-page/" rel="nofollow">Click here to see live</a> </p>

<pre><code>&lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css"&gt;
&lt;script language="javaScript" src="https://code.jquery.com/jquery-1.12.1.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"  src="http://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"&gt;&lt;/script&gt;
&lt;script language="javaScript" src="https://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/3/dataTables.bootstrap.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript" class="init"&gt;

jQuery(function($) {
    $('#example').DataTable();

} );

    &lt;/script&gt;
&lt;div class="container"&gt;
  &lt;div class="row"&gt;

            &lt;div class="col-md-12"&gt;
&lt;table id="example" class="table table-striped table-bordered display" cellspacing="0" border="1" width="100%"&gt;

&lt;script type="text/javascript"&gt;
/*
 jQuery(function($) {
 $('#datatable').dataTable();

     $("[data-toggle=tooltip]").tooltip();
  });
*/
&lt;/script&gt;




&lt;?php $i = 0; ?&gt;



&lt;?php foreach($data as $entry): ?&gt;



&lt;?php if($i==0){$count = count($entry);} ?&gt; 

    &lt;thead&gt;

&lt;tr&gt;

&lt;?php if($i==0):  ?&gt; 



&lt;?php foreach ($entry as $cell): ?&gt;

&lt;th&gt;&lt;?php echo $cell; ?&gt;&lt;/th&gt;

&lt;?php endforeach; ?&gt; 

&lt;/thead&gt;
&lt;tfoot&gt;
                        &lt;tr&gt;
                        &lt;?php foreach ($entry as $cell): ?&gt;
                            &lt;th&gt;&lt;?php echo $cell; ?&gt;&lt;/th&gt;

                            &lt;?php endforeach; ?&gt; 

                        &lt;/tr&gt;
                    &lt;/tfoot&gt;
&lt;?php else: ?&gt;
&lt;?php

$keys = array_keys($entry,"");

// foreach empty key, we unset that entry
foreach ($keys as $k)
unset($entry[$k]);

?&gt;
    &lt;tbody&gt;
&lt;?php foreach ($entry as $cell): ?&gt;

&lt;td&gt;&lt;?php echo $cell; ?&gt;&lt;/td&gt;

&lt;?php endforeach; ?&gt;     
    &lt;tbody&gt;


&lt;?php endif; ?&gt;

&lt;/tr&gt;





&lt;?php $i++; ?&gt;



&lt;?php endforeach; ?&gt;

&lt;/table&gt;

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

<p>Regards
Math</p>