Thank you for your reply. I have a table in an sql database that contains data of patients (i.e. names, hospital, treating physician). What I would like to do is to make a new table using the wpDataTables which will contain the numbers of patients treated in each hospital for a specific period of time. For example, let's say for the year 2019, I would like to have a table with all the hospitals and the numbers of cases treated in each one during the year. This can be done using php, by counting the number of records for each hospital within the year.
I hope that I do not cause you too much confusion. Just to let you know that my programming level is quite basic.
Hi
I have purchased the wpDataTables plugin and I wonder whether it is possible to put php codes in table cells.
Kind regards
Hello Andreas
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
You can use the HTML code, but for now simply entering PHP code will not work.
At the moment, you can create wpDataTables using Serialized PHP Arrays. Can you tell me what you'd like to enter in the cells?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Aleksandar
Thank you for your reply. I have a table in an sql database that contains data of patients (i.e. names, hospital, treating physician). What I would like to do is to make a new table using the wpDataTables which will contain the numbers of patients treated in each hospital for a specific period of time. For example, let's say for the year 2019, I would like to have a table with all the hospitals and the numbers of cases treated in each one during the year. This can be done using php, by counting the number of records for each hospital within the year.
I hope that I do not cause you too much confusion. Just to let you know that my programming level is quite basic.
Thank again for your consideration
Andreas
Hello Andreas.
Would it be possible to send me that table as an SQL dump, so I can add it to my database, and see what I can do for you?
I'm sure it can be done with SQL query, but I'd need to see the table.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables