You do realize that the problem is in chapterpdo5.php right?Its not in the code you are trying to alter.
That part works great. But the problem is in the insert query I posted in a previous response in this thread.
Inserting into 1 column works but inserting into 2 columns does not work. If you would revise the code of the insert query i posted before, it would help me lots. thanks