Sun May 17 2020

Hello World

PHP Scripting950 views

File Name: php-hello-world.php

<!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

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.