Hello World

PHP Programming

PHP Programming Examples

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