Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

want to create table of contents in which i can upload videos to the topics.

Hi, Thanks in advance. I want to create a Table of Contents, which consists of no. of levels. like Module name, then each module will consists of some lessons and which it will further consists of several topics. And each and every topic i have to upload a video. And also we can shift lessons and topics upwards and also everything is stored in the database.

Jeff Lemay
Jeff Lemay
14,268 Points

Where are you getting stuck?

3 Answers

Hi Jeff Lemay, I am unable to find a approach, how to start and proceed it further. Please suggest me some idea or concept to start it. Thanks in advance.

Konrad Pilch
Konrad Pilch
2,435 Points

Do you mean you want to create something like this ? they can add topic manualy if we assume like that and then in the topic have tutorials ?

yes, like this only. The admin can add any no. of topics manually and can also edit and remove the lesson or topics any time. And the user can view the updated TOC.

I want the admin user can dynamically add the lesson or topic name. He/she don't need to write the code for adding lesson or topic everytime.