id=example - Requested unknown parameter '0' for row 0

id=example - Requested unknown parameter '0' for row 0

math44infomath44info Posts: 2Questions: 2Answers: 0

DataTables warning: table id=example - Requested unknown parameter '0' for row 0. For more information about this error, please see http://datatables.net/tn/4

hi i am using jquery datatable plugin to load mysql data into it so far its goin good but when the records are more the data table gets relatively slow to load so now i am stuck here and have no idea of what has to be done so can anyone help me in this here is my code

sorry I did not understand what was stated in Link http://datatables.net/tn/4

<?php $result = mysql_query("SELECT * FROM `mdb` ORDER BY grno"); <?php > ?>

<?php while ($row = mysql_fetch_array($result)) { echo "<tr>"; echo "$row[grno]"; echo "$row[brno]"; echo "$row[name]"; echo "$row[address]"; echo "$row[city]"; echo "$row[pin]"; echo "$row[mobile]"; echo "    "; echo ""; } ?> </tbody> </table> $(document).ready(function() { $('#example').dataTable(); } ); <script src="../js/jquery.dataTables.js"></script>
Srno. Brno. Name Address City Pin Mobile Actions

Answers

  • rhinorhino Posts: 80Questions: 2Answers: 17

    Can you post the markup that your PHP generates?

This discussion has been closed.