Dynamically generate column structure using PHP
-
Hi,
I want to show set of online classes on each day and the structure of it is as shown in the screenshot
https://www.awesomescreenshot.com/image/39089578?key=e266855030e71b3308c6217fa5cb793b
- There will be so many online classes per day. (Assume there is going to be 100 classes.)
2. Currently, the time (shown in the above screenshot) is generated through shortcode which takes CDT time and converts it to user’s timezone based.
3. Also the LIVE button shown was made visible if the current time of user falls within 1 hr rage of the class. A shortcode was used to make the LIVE button visible. In the beginning LIVE button for all classes was set to visibility:hidden.
4. Other information like – Title of the class, image, class description is all static.
Now, I have to parse through all the online classes and find out which are currently LIVE. I have to list them on top of the page. May be I have to create a section for that and list out all the online classes.
I am seeking help on how to achieve this, and also I would like to know if there is a way to generate the online classes dynamically, instead of keeping them static like it is now.
Any help in this regard is super highly appreciable.
- This topic was modified 1 year, 10 months ago by . Reason: Removed "URGENT" as that's wrong for a volunteer forum
The page I need help with: [log in to see the link]
- The topic ‘Dynamically generate column structure using PHP’ is closed to new replies.