<?php echo "Hi, I'm a PHP script!"; ?>
Output : Hi, I'm a PHP script!
When you run the script on server you can see the output "Hi, I'm a PHP script!"
<?php is called php opening tag
?> is called php closing tag
XAMPP : you can download from here https://www.apachefriends.org/
Notepad ++ : you can download from here https://notepad-plus-plus.org/
both of the software are free to use you can download and create file hello.php and follow the above example.
Loading, please wait...