I've got Cookie Plus and Mo' Variables installed. I'm trying to set, get and increment a value in a cookie. Here's my test script:
{if "{exp:cookie_plus:get name="aa_seq"}" == ""}
{exp:cookie_plus:set name="aa_seq" value="1" seconds="0"}
Setting<br>
{/if}
Cookie: {exp:cookie_plus:get name="aa_seq"}<br>
{exp:cookie_plus:set name="aa_seq" value="<?php echo {exp:cookie_plus:get name="aa_seq"} + 1; ?>" seconds="0"}
I tried it with PHP on input and output, and they both FUBAR.
Would appreciate any pearls of wisdom. Thanks.