Serverside Data fetch with individual searching inputs

Serverside Data fetch with individual searching inputs

msammsam Posts: 4Questions: 0Answers: 0

Hello,
i am trying to do serverside data fetch with individual searching inputs,
but i don't get any demo of how to handle the search input in the php file..
i saw your example here http://live.datatables.net/piqidoqo/1/edit
but there also your didn't share server_processing.php.
If you can please send me the content of server_processing.php that will very much help me in using data table.
I have also seen the server side processing script: https://github.com/DataTables/DataTablesSrc/blob/master/examples/server_side/scripts/server_processing.php
But this script doesn't show how to work with searching inputs or filter.
PLease HELP

Replies

  • Bindrid2Bindrid2 Posts: 79Questions: 4Answers: 12

    https://datatables.net/manual/server-side explains what is being sent to the server by DataTables and what should be set from the server so DataTables knows how to display it

  • msammsam Posts: 4Questions: 0Answers: 0
    edited July 2018

    can you please share some server side script which will display how to work with individual searching inputs and mysql tables.

  • Bindrid2Bindrid2 Posts: 79Questions: 4Answers: 12

    Not from me since I am not a PHP programmer. However if you google datatables php mysql serverSide, you will get a ton of hits.

  • allanallan Posts: 63,089Questions: 1Answers: 10,388 Site admin

    https://github.com/DataTables/DataTablesSrc/blob/master/examples/server_side/scripts/server_processing.php

    That is the contents of the server_processing.php script in the live. example you linked to.

    But this script doesn't show how to work with searching inputs or filter.

    The global search for the DataTable is handled by the SSP class, which is also available in that directoy in github.

    Allan

This discussion has been closed.