SQL syntax error
When I tried testing the cart I built I made it through getting the item into the cart and the checkout page but when I then click on Checkout button I get the following parsing error when it tries to address the confirm.php page:
Parse error: syntax error, unexpected '@' in /homepages/46/d366494719/htdocs/myoscript3/pages/confirm.php on line 155
On line 155 there is a vraiable set without parentheses:
$WA_fieldValuesStr = @@FieldValueStrParam@@;
There is another lne that DreamWeaver flags as having a syntax problem at line 186:
$WA_fieldValuesStr = @@FieldValueStrParam@@;
I put the parentheses in on both of these lines and the parsing error stopped but then I got the following SQL syntax error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@@FieldNameStrParam@@) values (@@ColumnTypeStrParam@@@@FieldValueStrParam@@@@Col' at line 1