Im trying to create a php calendar by implementing codes in the html file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Im trying to create a php calendar by implementing codes in the html file

I have done most of the work i dont understand whats wrong. I have posted the codes publicly, someone please help me.. under web code https://code.sololearn.com/wg6hgwoi5k2x/#

7th Aug 2020, 7:39 AM
Vivienne Juma
Vivienne Juma - avatar
8 Answers
+ 2
Please publish your code on description not in tag.
7th Aug 2020, 7:43 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
Line 34 (two problems): The for-loop is missing its loop body block closing bracket -> } The variable <$hours_to_show> is written without $ sign for($i=1; $i <= $hours_to_show; $i++) And please share code link in thread Description, not in tags. Links do not work in tags FYI ...
7th Aug 2020, 8:29 AM
Ipang
+ 1
Ipang thank you for that, im a beginner here im trying my best... thank you
7th Aug 2020, 7:39 PM
Vivienne Juma
Vivienne Juma - avatar
+ 1
Vivienne Juma PHP code wouldn't run if we put them in a web code like this. Copy the code and save it in a PHP code. My earlier response was referring to this PHP code of yours 👇 https://code.sololearn.com/w2ya7Vx3gyZM/?ref=app
7th Aug 2020, 8:07 PM
Ipang
+ 1
Ipang oohh okay thank you so much
7th Aug 2020, 8:11 PM
Vivienne Juma
Vivienne Juma - avatar
0
Samsil Arefeen thank you...ive done exactly that
7th Aug 2020, 7:37 PM
Vivienne Juma
Vivienne Juma - avatar
0
Vivienne Juma No problem 👌 Anyways, please check the code link once more, I think your link is broken as I can't access it.
7th Aug 2020, 7:42 PM
Ipang
7th Aug 2020, 8:01 PM
Vivienne Juma
Vivienne Juma - avatar