Dynamic number of pages

Hello fellow coders!

I’ve spent a few months trying to get to know Yii and after reading af few guides and books i have one simle question!

Most of the guides focus on a static number of pages, with a hardcoded action for each, however:

I want my client to be able to add and delete pages as she wishes and the content for each to be stored in a MySQL DB.

I CAN do this, but not in any way in an elegant way.

So how would this typically be done?

Thank you very VERY much,

Martin Munk Hansen :slight_smile: