Answer the question
In order to leave comments, you need to log in
How to use filter_input for key and value?
Good afternoon.
When we expect an array of numbers, we can use the code
filter_input(INPUT_POST, 'arr', FILTER_VALIDATE_INT, FILTER_REQUIRE_ARRAY);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question