Is this possible - 3 page design with server side processing?

Is this possible - 3 page design with server side processing?

BollardBollard Posts: 10Questions: 0Answers: 0
edited August 2011 in General
Hey Guys and Gals,

Im wondering if the following setup is possible with DataTables (i think it should be) and was wondering if someone could walk me through how to achieve it in a high level sort of way.

So, i have a search form on index.php User inputs a query, this is then handed to process.php (via AJAX) that returns an object to index.php which DataTables displays - all working fine (to recap: index.php > process.php > index.php)

Now, each row of results has a radio button, so you can select a row of results and then do various things with that row (a row corresponds to details about one object). I want to be able to select a row, hit "view" which then gets an object ID, hands to process.php which does a DB query and then the results are displayed on a DIFFERENT page (ie history.php) where DataTables displays the results (to recap: index.php > process.php > history.php)

How can i achieve this? Ill need some DataTables JS on index.php to send the sEcho, iTotalRecords and iTotalDisplayRecords - but then also presumably ill need the same JS on hisory.php (to sort the result rows etc)

Basically, can i get a breif walk through on the basic steps / files i need where.

Thank you!
This discussion has been closed.