• Free Template
  • Programming
    • Coding Guides
    • Articles
  • Tips & Tricks
  • Technology
  • What's Hot

php Examples

  • Introduction
  • Hello World
  • Calculation
  • Greatest Number
  • Fibonacci Series
  • Method Overriding
  • Method Overloading
  • Inheritance
  • Constructor Destructor
  • Class Object
  • Nested Function
  • Recursive Function
  • Function
  • Array Search
  • Break Array
  • Array Merge
  • Array Sort
  • Upload Multiple Files
  • Mysql Connection
  • Instance of
  • Interface
  • Object Cloning
  • Login Form
  • Form Validation
  • Upload File
  • HTTP Authentication
  • HTTP Header
  • Cookie
  • Session
  • E-mail Validation
  • Send E-mail
  • E-mail with Attachment
  • Date Time
  • Array Sum
  • Select MySQL DB
  • MySQL DB Query
  • Create Delete Directory
  • Directory Contents
  • Create Delete File
  • Copy File
  • Read File
  • Read CSV file
  • Create XML File
  • Read XML File
  • Imagick

Apr 16, 2020

Hello World

PHP Scripting 563 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
Tags:
phppersonal home pagehello world in phpphp code for hello worldgeekboots tutorialgeekboots php
Author: Geekboots
Share On
Geekboots © 2022 About UsContact UsTermsCookie PolicyPrivacySubmit Article