Simple Code of PHP


Prev Tutorial Next Tutorial

Simple Example of PHP

Here we write very simple code by using only echo command and php file save with .php extension.

Syntax

<!DOCTYPE>
<html>
<body>
<?php
echo "<h2>My First PHP Code</h2>";
?>
</body>
</html>

Output

My First PHP Code

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements