PHP Basics

Hi Everyone...!!!! Working with PHP projects. So,started blogging. Please do some comments

Friday, 7 August 2015

A simple and easy example on PHP:-

example.php :-
<!DOCTYPE html>
<html>
<body align="center">

<h1>My First Post On PHP</h1>

<?php
echo "PHP Programming Language";
?>

</body>
</html>


Screenshot:-

A PHP scripts starts with <?php & ends with ?>. "Echo" is the statement used in the above example to print the line.

Posted by Anik Acharjee at 02:12
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Anik Acharjee
View my complete profile

Blog Archive

  • ►  2017 (4)
    • ►  September (4)
  • ▼  2015 (12)
    • ►  September (1)
    • ▼  August (11)
      • PRINT v/s ECHO :- In the previous posts, I have ...
      • PHP Strings :- They are sequences of characters,...
      • PHP Arrays:- An array is a data structure that s...
      • PHP Break and Continue Statements :- The Break...
      • PHP Loop Types:- Loops in PHP are used to execu...
      • PHP Decision Making Concepts :- The if, elseif ....
      • PHP Operators :-  Operators are used to operate ...
      • PHP Constants :-  A constant is a name or an ide...
      • PHP Variables :- Variables are like "container...
      • A simple and easy example on PHP:- example.php :...
      • INTRODUCTION :- The PHP Hypertext Pre-proc...
Simple theme. Powered by Blogger.