PHP Tutorial@ Shwetank education.com
Definition –
PHP Stands For Hypertext Preprocessor.
It is used to create dynamic web page.
It’s server- side scripting language.
Old name is- Personal Home Page.
Father of PHP- Rasmus Lardrof
It is used to create dynamic web page.
It’s server- side scripting language.
Old name is- Personal Home Page.
Father of PHP- Rasmus Lardrof
Advantages
Open Source
Stable
Platform Independent
Cross Platform
Easy To Learn
History of PHP-
8 June 1995 Launch PHP 2
1997 PHP 3
2000 PHP 4
2005 PHP 5
2010 PHP 6
2015 PHP 7
Basic PHP Syntax
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document.
Start tag
<?php
End tag
?>
PHP Echo>
PHP Echo@ Shwetank education.com
Definition –
Php echo is a method to be use print any text or string and any character .
Syntax
echo ” “;
Note-
Many Programming Language are used different output showing method like-
Java- system.out.print
Asp.net- response.write
C++ cout
C– printf
PHP- echo, print, printf
Example
<?php
echo “Hello Shwetank”;
?>
Output
try It