-1

I'm learning php but can't get my first practice to work. Why?

https://codepen.io/adsler/pen/VwLaaKv

<!DOCTYPE html>
<html>
<body>

 <?php 

 echo  "hello world 1";

 ?>

</body>
</html>
newnew
  • 21
  • 5

1 Answers1

0

As they mention in the comments you can't run PHP in file protocol

you need to install localServer the easiest one called Xampp

or use in online editor prepared for PHP like this one jdoodle

Joseph
  • 4,715
  • 3
  • 11
  • 33