welcome to tutorialfamily

php tutorial

php is open source and widely used scripting language.

php use for creating dynamic web pages.


php tutorial – php used to create dynamic web pages.

php tutorial – php is widely used and use for dynamic web pages scripting language. php is founded by Rasmus Lerdorf in 1994. It is very first incarnation of PHP was a simple set of Common Gateway Interface (CGI) binaries written in the C programming language.

Php is stand for Hypertext Preprocessor.

PHP code may be executed with a command line interface (CLI), embedded into HTML code, or used in combination with various web template systems, web content management systems, and web frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in a web server or as a Common Gateway Interface (CGI) executable. The web server outputs the results of the interpreted and executed PHP code, which may be any type of data, such as generated HTML code or binary image data. PHP can be used for many programming tasks outside of the web context, such as standalone graphical applications and robotic drone control.

Php basic requirement

  • Html is work as output of php and layout
  • Css use for layout of web pages
  • Javascript is use for functionality
  • Mysql is use for database

default syntax



<!DOCTYPE html>
<html>
<head>
	<title>Php tutorial</title>
</head>
<body>
	<?php
           echo "tutorialfamily is big online tutorial website";
        ?>	
</body>
</html>

sort tag syntax



<!DOCTYPE html>
<html>
<head>
	<title>Php tutorial</title>
</head>
<body>
	<?
            echo "tutorialfamily is big online tutorial website";
        ?>	
</body>
</html>

script tag syntax



<!DOCTYPE html>
<html>
<head>
	<title>Php tutorial</title>
</head>
<body>
	<script language="php">
	    echo "tutorialfamily is big online tutorial website";
        </script>	
</body>
</html>

output

Our Content