PHP- First Program
Create First Program
First of all we define PHP’s Syntax. PHP syntax is most similar to other programming languages like C,JAVA, PERL.
So If you have used these languages there will not be hard PHP for you. Creating PHP file is similar to HTML file, In fact most PHP files are mix of PHP code and HTML.
The PHP code must put within the following. The PHP programming start from <? php start of the php tag, you use the closing tag ?>
---PHP Script Code Here
If you want to know PHP information and Wamp Server install or not. Insert the PHP code into the page, write the code:
The phpinfo() is a Function. Then you will see the grouping of PHP code that is using single name phpinfor().
If you want to check the code then write code into dream viewer.
If you show the PHP information chart then your PHP engine on you window.