Skip to content

Glossary: PHP Basics

escaping

Also written: escape, escaped output

Turning special characters such as `<`, `>`, `&` and quotes into codes like `&lt;` so the browser shows them as plain text instead of treating them as HTML. Done with `htmlspecialchars()`.

Where the book teaches it

Related terms

htmlspecialchars()XSS (cross-site scripting)