+ 2
Can you help me please? I tried to use php in HTML but it didn't work
https://code.sololearn.com/Wef5a5uJm6m2/?ref=app In this code above I tried to use PHP to produce 10 div tags in HTML.But it didn't work.The code inside the php tags is outputted. Is this possible or is there another way to output 10 div tags without writing all 10?
3 Answers
+ 13
You can't use PHP in the Web sandbox of SoloLearn. Use the 'PHP' option while creating the code...
+ 12
You could just create your whole page from a PHP project or use JS instead.
+ 2
Ok thank you.
Then i will have to write 10 div blocks .....