Create a simple php page
A php file start with '<?php' and ends with '?> Structure of the php is shown below.
Hello World
Here the echo is used to print the string hello world.
<?php
//body of php file
?>
An echo is used in the php to display a text or a value inside the text as the output to the user.
<html>
<head>
</head>
<body>
<?php
echo "Hello World";
?>
</body>
</html>
Output
Hello World
Here the echo is used to print the string hello world.
⇐Prev
Next⇒
Comments
Post a Comment