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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
