PHP print statement

To print a statement in PHP we use this command.

Example Program:
<!DOCTYPE html>
<html>
<head> 
</head>
<body>

<?php
echo "My first PHP script!";
?>


</body>
</html>


Output:
  
Powered by Blogger.