the questions I have asked earlier pdo to retrieve data and populate a record was about the input mask now i need to validate the user input and add what has been entered t
The problem here is that you never executed for the INSERT
Add this to it:
$stmt -> execute();
which is why no errors return, because there are none; just something "missing" ;-)
Reference: