Here just a quick prototype to read some infos into the database with a PHP coding (in this example, we read the database to list some E-Commerce products).
Take care it's not a complete list of products. Just products ordered.
The complete list of products is in external file NOT into the database !!!!!!
Does not works in preview mode ! Needs to be exported.