June 2017
Beginner to intermediate
368 pages
8h 31m
English
Unlike some programming languages (for example, Python), PHP does not use indentation to mark blocks of code. To indent your PHP code, use four leading spaces, not a TAB character. For example, in the following screenshot (taken from Eclipse), you can see that there is no overall indentation and that a line is indented by four spaces:

Also, ensure that trailing whitespaces are stripped from the end of lines.
Read now
Unlock full access