That’s a php code in w3schools where they’re validating form data. Everything is good till I encounter this $data parameter passed to test_input function to represent the form data. I don’t understand how the parameter represents the whole form data with out anywhere where we are shown the $data variable== form data. I don’t see the logic there.