0

Php include in html.

I was wondering if it is possible to have a php include inside a html code. Let's say if I'd want to have a html progress bar and its value isn't pre-written but taken of php?

27th Sep 2019, 6:11 PM
Loris Skad
Loris Skad - avatar
3 Answers
+ 3
php is a backend language and php codes work in your server side. You need to use Javascript or jQuery too but you can get help from your php backend.
27th Sep 2019, 6:58 PM
Majid Jalilian
Majid Jalilian - avatar
+ 2
It is possible to write php inside html code. I don't have any idea about using progress bar in php but you can use javascript here.
27th Sep 2019, 6:35 PM
Chetali Shah
Chetali Shah - avatar
+ 1
Alright, thank you. It's more complicated than I thought but at least now I know that I can use php as values.
27th Sep 2019, 7:28 PM
Loris Skad
Loris Skad - avatar