| Ajax Tutorials, PHP Tutorials, Javascript Tutorials, Visual Basic.Net Training, XHTML tutorials, php script library, PHP Codes, Programming tutorials, web development tutorials | |||||||||||||||
![]() |
|||||||||||||||
| Home | Forums | Downloads | Books | Submit Content | Links | |||||||||||||||
Introduction to PHPDate:2006-02-13What is PHP?
Why PHP?
What is
an PHP File? PHP Requirements
PHP Tags PHP has following tags:
First PHP Script For write first script of PHP, Open notepad. Type the below example and save the file at C:\apache\htdocs\filename.php,
In this script <?php is used for start PHP tag. print is used to print any statement on page. Another function echo is also to print any statement on page. semicolon (;) is used for end any statement . ?> is used for end php script
Comments in PHP Comments are used for ignore any statements.There are two comment tags used in PHP. // (Single Line Comments ) will comment out a single line of coding.
/* */ (Multiple Line Comments ) will comment out a block of code.
|
|
||||||||||||||
| Desclaimer | Privacy Policy | Submit Content | Links | Link to Us | Sitemap |Contact Us | |||||||||||||||
| Copyright Programming Tutorials, Web Development
Tutorials, Source codes © All Rights are Reserved. Powered By Evernew Solutions Share Dealing - Loans - Debt Consolidation - Best Credit Cards |
|||||||||||||||