Saturday 23 February 2013

PHP:Installation

Lecture #2

Hi!guys
Today i want to talk how to install the PHP on your personal computer
So here we go.........................

First of all you guys must install the following....................................
  1. Install the webserver
  2. Install PHP
  3. Inastall the database such as a MySQL
The official website how to install the PHP is following
                                              
                                    http://php.net/manual/en/install.php

PHP syntax

first you guys must know  what is Syntax :Syntax is rules  which you must be follow...

PHP syntax is writee any where in the document :
PHP script
 start as
<?php
 and
end as
?>

for example as
<?php
//code is here
?>

php file extension .php


little example is here
<html>//main tage of html: open tage of html
 <body>
 <h1> PHP example</h1>
 <?php   
 echo "helo world";
?>
</body>


</html>



                 Join my blog feed to start learning programing languages totally free



0 comments:

Post a Comment