How to print multidimesion array in datatables
How to print multidimesion array in datatables

string(55) "[["First Name","comapny_name","address","designation"]]"
string(79) "[["Dulce","Cras Vehicula Aliquet Ltd","778-7231 At, Road","software devloper"]]"
string(81) "[["Mara","Malesuada Fames Consulting","7098 Posuere Street","software devloper"]]"
my code for datatables
<script type="text/javascript">
$(document).ready(function() {
$('#display').DataTable( {
"ajax": 'newexcel.php'
} );
} );
</script>
This discussion has been closed.
Answers
Plsss help me
These example show how to use arrays with Ajax data: here and here.
If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin