So, you want the errors (if any) to be displayed next to the form input?
Yes I can style them myself now.
Just by way of anticipation, would you also want correct inputs to be populated automatically (so the user doesn’t need to re-type everything)?
No. This should be added as a tutorial to this website. There isn’t a great deal of PDO material out there. W3 schools are still using SQL. Maybe you could submit it to them as well?