""."/> "".">

Home  >  Article  >  Backend Development  >  What does br mean in php

What does br mean in php

藏色散人
藏色散人Original
2021-12-21 09:48:076090browse

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 ""
" ".

What does br mean in php

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:

What does br mean in php

2. Splice "
" after the output text, and the output text will be line-wrapped:

What does br mean in php

3. Splice "
" but without quotation marks, run the code, and the program will report an error:

What does br mean in php

## Recommended learning: "

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What does
 mean in php?Next article:What does 
 mean in php?