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
Post a Comment