0

Can anyone help me with thsi php problem please?

Create a page that displays all of the days of the week up to a random day and all of the months of the year up to a random month. you should display your output in an ordered list.

2nd Mar 2018, 3:23 PM
Ledia
Ledia - avatar
1 Answer
+ 2
1. make a numeric array for days and another one for months 2. use the random php function as following random(1,7); for days and random(1,12) for months 3. store this randoms in variables 4. use those variable as indexes to echo a random day or month.
21st Jul 2018, 3:56 PM
Jalal Dev