Well, I needed some help .. I'm using datatables.
I have a search form that when clicking will search to run a php file, where I send parameters by search data, some fields can go in null.
The php file that goes to the database has the following structure
search.php
class dados{ public function getinfo($query,$key,$processo,$sigla,$datainicio,$datafim,$op)
}}
All right until here because I'm generating a json file. that I will read in the datatables this file, but it gets very slow and limited.
I'm already generating json. I am trying to cede to the file but it does not load me the datatble of the .php file, what will it be?
$('#pesquisa').dataTable( {
"processing": true,
"ajax":{
url :"../../temp/pesquisa.php", // json datasource
type: "post",