Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5952149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:38:24+00:00 2026-05-22T17:38:24+00:00

I have like below: After I have changed show entries to 25 in datatable,

  • 0

I have like below:
after change show entries datatable no response
After I have changed show entries to 25 in datatable, the datatable seems no response. Its just show processing inside datatable body.

This the server side script for show entries:

$sLimit = "";
        if ( isset( $_POST['iDisplayStart'] ) )
        {
                $sLimit = " LIMIT ".mysql_real_escape_string( $_POST['iDisplayStart'] ).", ".
                        mysql_real_escape_string( $_POST['iDisplayLength'] );
        }

why its happen? how to fix that?
Exactly I have two datatables inside this page.I put them in different tabs.

Datatable script

html table

serverside script


The trouble come during show range column but if not use this column all can work properly.the query like:

$sQuery = "SELECT DATE(A.Inspection_datetime) AS Date, A.Line, A.Model, 
                                  A.Lot_no,A.Range_sampling,COUNT(A.Serial_number) AS Error,B.name AS PIC
                           FROM inspection_report A
                           LEFT JOIN Employee B
                           ON A.NIK=B.NIK
                           WHERE CHAR_LENGTH( A.Range_sampling ) < 17
                           AND MONTH(A.Inspection_datetime)=MONTH(CURRENT_DATE)" .$sWhere.$sGroupBy.$sOrder.$sLimit;

Whether CHAR_LENGTH is the root cause? exactly this problem only occurs on the database a server for a local computer everything goes well.why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:38:25+00:00Added an answer on May 22, 2026 at 5:38 pm

    I had the same issue. In the fnServerData handler, you can read aoData[0].value to get the ‘sEcho’ value. This values needs to be assigned to the sEcho property of the json object you pass to your datatable.

    The expected type for sEcho is also a string and you are converting to an integer.

    $sOutput .= '"sEcho": '.intval($_POST['sEcho']).','; 
    

    try just

    $sOutput .= '"sEcho": "'. $_POST['sEcho'] .'" ,';

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with %_Link%%num% its not working show up link after load from
I have a #info div element which shows some text strings like below: <body>
I have pattern like below hi hello hallo greetings salutations no more hello for
I have structs like below and when I do that initialization: ArrayList nodesMatrix =
I have data like below AAAAAA BBBBBB CCCCCC DDDDDD EEEEEE Now there is a
let say i have function like below function doSomethingNow(){ callSomethingInFutureNotExistNow(); } at the moment
I have a line like below. fullname = (this is a test name); I
i have an array like below int[] array = new array[n];// n may be
I have a table like below: EmployeeId EmployeeName RequestId RequestName EmployeeId RequestId I need
I have bat file like below with name myBat.bat 1) @echo off set CLASSPATH=%CLASSPATH%;C:\Documents

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.