How to save php codes ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to save php codes ?

I have written php code in html code described in the php section. But now the problem is how can I save it to see the results like in html, we use .html or .htm please help as soon as possible.

11th May 2019, 2:34 AM
Lokesh Verma
2 Answers
+ 8
Use .php
13th May 2019, 8:17 PM
Boboev Ahmadjon Safaralievich
Boboev Ahmadjon Safaralievich - avatar
+ 5
The php codes that save in html is not going to be executed. PHP codes must save in php file, store and run by in php server.
11th May 2019, 3:16 AM
Calviղ
Calviղ - avatar