Zaf Posted December 27, 2019 Share Posted December 27, 2019 i try the code in w3school and it can be run. But when i try to replicate it in my notepad and save it as helloworld.php and i browse it in my browser, the code cannot be running as in w3school. Why?? Before this, all ok.. Can anyone help me to solve it?? Thank you in advance.. this code: <!DOCTYPE html> <html> <body> <?php ECHO "Hello World!<br>"; echo "Hello World!<br>"; EcHo "Hello World!<br>"; ?> </body> </html> result in my browser: "; echo "Hello World! "; EcHo "Hello World! "; ?> Link to comment Share on other sites More sharing options...
Ingolme Posted December 29, 2019 Share Posted December 29, 2019 You have to run this code on a server which supports PHP. You cannot run PHP files from your computer without installing server software on it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now