Anyone know how to implement a loop of daily events. In my case I have 10 events
Think of it as event 1, event 2, event 3 and ....
How can I do it, let's say
- Monday Event 1
- Tuesday Event 2
- Wednesday Activity 3
- Thursday Event 4
- Friday Event 5
- Saturday Event 6
- Sunday Event 7
- Monday Event 8
- Tuesday Event 9
- Wednesday Event 10
- Thursday Activity 1 (Cycle)
- Friday Activity 2
etc
Is there any way to achieve something like this?
Perform the following operations.
In Laravel you can use Carbon
You can refer to the following code
result