Server-side validation and prepared statements (helps prevent SQL injection).
Displays user-entered data and permits users to add data.
(See P2 to update and delete pet store data.)
(Table: petstore)
Error!
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)