php tutorial - Introduction to PHP - php programming - learn php - php code - php script
- what is php - PHP stands for Hypertext Preprocessor.
- The PHP programming language is a server-side scripting language.
- The PHP language runs on the server-side. This means that the execution (read starting) of the scripts are done on the server where the web-site is hosted.
- Generally, PHP is embedded with HTML and Scripting Language.
- HTML embedded means, that you can use PHP statements (read a piece of PHP code) within an HTML code.
- PHP files are returned to the browser as plain HTML.




History of PHP
Why PHP :

Characteristics of PHP :
- PHP is free and an open source software product.
- PHP supports many databases (MySQL, Sybase, Oracle and many others.)
- PHP runs on different platforms (Unix, Linux, Windows.)
- PHP is mostly support in all the web-servers used today (Apache, IIS (Internet Information Services), etc.)
- A PHP file can contain plain text, HTML tags and scripts.
- The PHP files can have one of the following extensions: .php, php3 or phtml.



PHP - Installation
PHP Hello World


PHP - Complete Functions Lists

How PHP Pages are Accessed and Interpreted
- Form submitted with a submit button
- Action sends a request to the php file in server
- Receive the request, find the file, and read it
- Execute the PHP commands
- Send the results back
- results returned as HTML file
- Web browser renders the HTML file, displaying the results
Embedding PHP Statements Within HTML Documents
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>HTML With PHP Embedded </title>
</head>
<body>
<p style = "font-family:sans-serif; font-size:36; color:yellow; background-color:green">
Welcome To My Page!
<?PHP
print (" <br /> Using PHP is not hard!");
?>
<br /> and you can learn it quickly!</p>
</body>
</html>
click below button to copy the code. php tutorial - team
