Added error handling, PDO transaction and a typo in the foreign key (user_id instead of fk_user_id)
Added error handling, PDO transaction and a typo in the foreign key (user_id instead of fk_user_id)

manuelmeister/ThePost,manuelmeister/ThePost,manuelmeister/ThePost