Php dont work | Sololearn: Learn to code for FREE!

+1

Php dont work

I started studying php and write code in a notebook (maybe that's the problem If the problem in the notebook advise me please where to write, I will be very grateful)save the programm in Html format. I open the site but He doesn't read php commands like "echo"

4/8/2021 3:38:34 PM

VELDY

6 Answers

New Answer

+4

Yeah https://www.sitepoint.com/how-to-install-php-on-windows/

+3

VELDY Install server Xampp -windows Lampp- linux Wampp- windows Then save Your project In htdocs or www folder according to operating system and then save file in .php extension to run on browser Localhost/projectname/index.php

+1

Qasem Thank you so much, you really helped me.

0

You must save your file with .php format.

0

Qasem Do I need to install a php on the pc?

0

Use a good IDE for example “visual studio code” or “netbeans” . Also you need a local server , install xammp.