+ 2

How to go back and output php code in html file?

I am trying to output of my php code on html page but i am on php file. How can i go back from php file to html file and print that?

28th Oct 2018, 6:00 PM
Praveen Soni
Praveen Soni - avatar
4 ответов
+ 1
Janning⭐ if i can go forward then i think there should be a way to go back
12th Nov 2018, 8:21 PM
Praveen Soni
Praveen Soni - avatar
0
Maybe there is a language issue here, but I'm not sure the question is very clear. PHP is a server side language that generates HTML for the client. Where and how are you trying to "print"?
29th Oct 2018, 6:08 AM
Janning⭐
Janning⭐ - avatar
0
I think you can insert php code in php tag in your html file.
12th Nov 2018, 4:39 PM
Jagbir
0
I'm not sure I understand what you mean by "forward" and "back". PHP is server-side, so it generates the HTML file and serves it to the client for rendering (generally by a web browser). If you want a copy of the HTML code, any web browser should be able to help you "view-source:".
12th Nov 2018, 10:18 PM
Janning⭐
Janning⭐ - avatar