What does br mean in php

藏色散人
Release: 2023-03-14 14:48:01
Original
6023 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!