php – Populate Elementor page dynamically by fetching data from database


Basically my page involved a list of entries like the one below:

enter image description here

The style/position are quite easy to manage using Elementor. Now I want to display the list dynamically i.e. I want to store my entries in the database and only fetch e.g. the future records out (i.e. > today’s records). I saw from many tutorials that this could be done by using simple PHP code with SQL. However, I realise that in these solutions they construct the HTML as well.

I would like to ask if it is possible to return an array of objects (each entry/record) only and populate my page designed with Elementor dynamically?

xcoder 4 months 2022-01-25T22:54:35-05:00 0 Answers 0 views 0

Leave an answer