The br in php is HTML markup language, used for line breaks of text; in php, the
output by echo is a string, so it must be quoted, with codes such as ""
" ".
The operating environment of this article: Windows 7 system, PHP version 7.1, Dell G3 computer.
What does br mean in php?
and
are both HTML markup languages, used for line breaks in text,
is the standard way of writing
, echo in PHP The output
is a string, so it must be quoted.
1. Create a new php document without adding "
" and run the code. At this time, all the output strings are connected together:
2. Splice "
" after the output text, and the output text will be line-wrapped:
3. Splice "
" but without quotation marks, run the code, and the program will report an error:
PHP Video Tutorial 》
The above is the detailed content of What does br mean in php. For more information, please follow other related articles on the PHP Chinese website!