Note that there are some explanatory texts on larger screens.

plurals
  1. PODatatable freeze during change show entries
    primarykey
    data
    text
    <p>I have like below: <img src="https://i.stack.imgur.com/Df0rH.png" alt="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 <code>processing</code> inside datatable body.</p> <p>This the server side script for show entries:</p> <pre><code>$sLimit = ""; if ( isset( $_POST['iDisplayStart'] ) ) { $sLimit = " LIMIT ".mysql_real_escape_string( $_POST['iDisplayStart'] ).", ". mysql_real_escape_string( $_POST['iDisplayLength'] ); } </code></pre> <p>why its happen? how to fix that? Exactly I have two datatables inside this page.I put them in different tabs.</p> <p><a href="http://pastebin.com/emzG7cri" rel="nofollow noreferrer">Datatable script</a></p> <p><a href="http://pastebin.com/RTLdudng" rel="nofollow noreferrer">html table</a></p> <p><a href="http://pastebin.com/nVjZN4EE" rel="nofollow noreferrer">serverside script</a></p> <hr> <p>The trouble come during show <code>range</code> column but if not use this column all can work properly.the query like:</p> <pre><code>$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 ) &lt; 17 AND MONTH(A.Inspection_datetime)=MONTH(CURRENT_DATE)" .$sWhere.$sGroupBy.$sOrder.$sLimit; </code></pre> <p>Whether <code>CHAR_LENGTH</code> is the root cause? exactly this problem only occurs on the database a server for a local computer everything goes well.why?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload