0
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"
8 Réponses
+ 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.
0
you need to install local server such as xampp, and then save your code in htdocs with .php format ro run on your browser
0
Install xamp server
Add your files in the xamp folder
Run the server
Open your browser
Enter 127.0.0.1/folder-nane/file-name.php
Reminder use .php extension on your files