set up database end date for coupon--get white space message in cart
I set up the end date for database coupon codes as per instructions here:
the db is: couponCodes
fields are: couponid auto inc , couponCode varchar, couponAmt double, expDate date
When I test it on testing server I get this msg:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /Applications/MAMP/htdocs/megan_isaacs_cms/WA_eCart/megan_isaacs_PHP.php on line 172
I have looked and looked at this line and cannot see the problem.
Everything worked prior to adding this to the cart discount
Sending files cart.php and the wa php page.