Hi and thanks for this great tutorial!
I began to learn PDO today and after several hours I finally came across your tutorial that is simple enough for me to understand and with code that really work. There is only one tiny problem with the code.
This doesn't work:
I get this error message: Fatal error: Cannot pass parameter 2 by reference...
I solved it like this:
$name = 'the_desired_name';