sorting or next page button error

sorting or next page button error

flix_is_hereflix_is_here Posts: 1Questions: 0Answers: 0
edited May 2012 in DataTables 1.9
hi, i have a problem with datatables when i want to click sorting button or next page button....
i'm using MSSQL 2000 and the connection using ODBC.....
any suggestion??

here is my code :

[code]






$(document).ready(
function() {
$("#table1").ingrid({
url: 'remote.html',
height: 350
});
}
);



<?php
include('../check/conDBodbc.php');
$sql="SELECT employeeid, employeename, employeeinitial FROM getemployee where employeeid = 'asdasdas'";
$rs=odbc_exec($con,$sql);
if (!$rs)
{exit("Error in SQL");}

echo "";
echo "". odbc_field_name($rs,1) ."";
echo "". odbc_field_name($rs,2) ."";
echo "". odbc_field_name($rs,3) ."";
echo "";
echo "";
for($i=0;$i<=odbc_fetch_row($rs);$i++){
echo "". odbc_result($rs,"employeeid") ."";
echo "". odbc_result($rs,"employeename") ."";
echo "". odbc_result($rs,"employeeinitial") ."";
echo "";
}
echo "";

odbc_close($con);
?>


[/code]

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    edited May 2012
    > hi, i have a problem with datatables when i want to click sorting button or next page button....

    Okay - what exactly is the problem?

    Please see this thread: http://datatables.net/forums/discussion/9719/how-to-ask-for-help for how to frame questions :-). For starters, please post a link to a page showing the problem in this thread.

    Allan
This discussion has been closed.