So where do the answers to the form end up after they’ve been sent? How do I handle/send the response in a real world scenario?
<form> element opentag will have an
action="" attribute with the URL of the request page on the server. That page will read the POST data, validate it and make it safe to insert in the database (encode it), then do so. That page will likely handoff a success response, or a failure response, as applies. That page (or AJAX response) will be composed and sent back to the client.
Given only those two pieces of information,