Use filter_input() to Retrieve and Filter External Variables

Use filter_input() to Retrieve and Filter External Variables

The filter_input() function retrieves a specific external variable by name and optionally filters it. This is useful for sanitizing and validating input.

← Back to Tips List