May 17, 2020
Hello World
PHP Scripting 895 views
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<p>
<?php
/* Display text using 'echo' */
echo "Hello<br />";
/* Display text using 'print' (can be used with or without parentheses) */
print("World");
?>
</p>
</body>
</html>
/* Output */
Hello
World
Copy Code