How can HTML be prohibited in a form in PHP?

To prohibit HTML in a form submitted to PHP, you can use the `htmlspecialchars()` function to convert any HTML characters in the input to their respective HTML entities. This will prevent any HTML tags from being executed when the form data is displayed.

// Retrieve form data
$input = $_POST['input'];

// Prohibit HTML in form input
$input = htmlspecialchars($input);

// Use the sanitized input in your PHP code
// For example, save it to a database or display it on a webpage