+ 1

How do i convert a PHP code to HTML

11th Apr 2019, 11:25 PM
Adeboye Bamkole
Adeboye Bamkole - avatar
4 Réponses
0
You can't. HTML is a markup language. Unless the PHP code contains HTML, you can't perform PHP functions. Backend and front-end languages, not the same.
11th Apr 2019, 11:56 PM
Billy Noah
Billy Noah - avatar
11th Apr 2019, 11:58 PM
Jella
Jella - avatar
+ 2
Billy Kaye you can use html codes on php. Check your php lessons https://www.sololearn.com/learn/PHP/1793/
11th Apr 2019, 11:59 PM
Jella
Jella - avatar
0
Koder King🐱 Thanks for pointing that out, but that's the basics - yes you can put HTML codes on PHP, but can you execute 'for' loops in HTML? That's what I understood from the question when asked to convert. Or maybe I'm wrong. Convert != Combine
12th Apr 2019, 12:01 AM
Billy Noah
Billy Noah - avatar