on the product detail page, there is a blank line between php blocks that will cause an erro on redirectong to the cart display page at line 52::
rempove that blank lne.
there is a similar problem on the cart display page. at line 8 there is a blank space at the end:
that needs to be removed.
the options are not showing because you have bound the option column to the recordset.
in the add to cart button, do not bind the option column to anything
Set the option column to be update able from a select list.
after the select list has been added to the page, populate it with the appropriate options.