Important things, keep it on your mind.
White Space is ignored between PHP & HTML.
--------------------------------
<html>
<head>
<title>White Space </title>
<body>
<?php
echo 'White';
echo 'Space';
echo 'Can not WORK';
?>
</body>
---------------------------
DISPLAY :
___________________
___________________
WhiteSpaceCan not WORK
___________________
Note:
This means it is ok to have one line of PHP code, then 100 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 space as well.
You can also press tab to indent your code and the PHP interpreter will ignore those space as well.
No comments:
Post a Comment