I’m learning php but can’t get my first practice to work. Why?
<!DOCTYPE html> <html> <body> <?php echo "hello world 1"; ?> </body> </html>
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