How to dinamycally refresh an html table

How to dinamycally refresh an html table

semarsemar Posts: 1Questions: 1Answers: 0

All,
I'm really new to the DataTables world, and this is my very first question !

I wonder if this plugin would suit my needs.

Basically I would like to Display a table, for example Persons, and a second table, for instance Appointments. I would like to show the appointments of the selected Person. In oder words, when I select a Person on the Person table, the Appointments table should be updated accordingly.

The data - Persons and Appointments - come from a mysql db. The SQL select would be a join between the two tables.

I guess I could use Ajax to update the second table, right ? Is there any example/tutorial with source code about this Topic ? For me would be important the Server side ( php ) code too.

Thanks in advance,
Sergio.

This discussion has been closed.