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/#
8 Antworten
+ 2
Please publish your code on description not in tag.
+ 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 ...
+ 1
Ipang thank you for that, im a beginner here im trying my best...
thank you
+ 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
+ 1
Ipang oohh okay
thank you so much
0
Samsil Arefeen thank you...ive done exactly that
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.