Write a php script to display hello world
Here you will learn to write a php script to display hello world. This is the first test program to check if the PHP software is working well.
Program code to write a php script to display hello world
1 2 3 4 5 6 7 | <!DOCTYPE html> <html> <body> <?php echo "Hello World"; ?> <?php echo "Welcome to Code Revise"; ?> </body> </html> |
Output
Hello World
Welcome to Code Revise
Check our other PHP examples