PDO can be used for other SQL database types (SQLite for example) while MySQLi only works for MySql databases (unless there's a mySQL plugin or something).
Also want to refactor to use an object oriented style instead of procedural.
As a user whenever I accidentally forget to fill out all form fields to add a book, I'd like the error message to show and not clear our the parts of the form that I've already added info to.