Skip to main content

White space in PHP

White space in PHP :


<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";                  /*As with HTML, whitespace is ignored between PHP statements.
                                      This means it is OK to have one line of PHP code, then 20 lines of blank space
                                      before the next line of PHP code. You can also press tab to indent your code and
                                      the PHP interpreter will ignore those spaces as well. like from line 9 to line
                                      15 its whitespace but php does not consider it as whitespace*/


echo "Hello World!";
?>
</body>
</html>

Comments

Popular posts from this blog

Variable And INT

#include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; main() { int a;                           /* what is (int) here and what is (a) here                    the two question which was in mind of me                    when i was in first semester*/                   } /* Here there are two thing 2) int 1) a: is basically a Variable which represent a storage or memory in computer like if we define (int a) then a memory is located in computer to store the value of a it can be changed during execution of program but i will define it later 2) int 2) INT : int basically specifies the type of da...

Android Tutorial for Beginners 1 # Introduction and Installing and Confi...

Android Tutorial for Beginners 3 # Building Your First Android App (Hell...