php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "escape character"

What are the differences between htmlspecialchars(), htmlentities(), and addslashes() in PHP?

When dealing with user input in PHP, it is important to properly sanitize and escape the data to prevent security vulnerabilities such as cross-site s...

What potential pitfalls should be considered when storing text with formatting in a MySQL database using PHP?

When storing text with formatting in a MySQL database using PHP, potential pitfalls to consider include SQL injection attacks if the input is not prop...

What are the common errors that can occur when trying to insert text into a textarea using JavaScript in PHP?

Common errors that can occur when trying to insert text into a textarea using JavaScript in PHP include not properly escaping special characters in th...

What are the advantages and disadvantages of using a fixed width font like Courier New versus a variable width font like Arial in FPDF?

When using a fixed width font like Courier New in FPDF, the advantage is that each character takes up the same amount of space, which can help maintai...

What are the differences between using mysqli_real_escape_string and htmlspecialchars in PHP for data security?

When dealing with user input in PHP, it is important to sanitize the data to prevent SQL injection attacks and cross-site scripting (XSS) attacks. m...

Showing 8671 to 8675 of 8677 results

‹ 1 2 ... 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.