ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

cookie plugin quotes question

August 24, 2009 1:55am

Subscribe [1]
  • #1 / Aug 24, 2009 1:55am

    matt romaine

    50 posts

    Hi, quick question needing a second pair of eyes.

    I’m using the cookie plugin, and am wondering what the difference is between these two ways of storing cookie data in a php variable:

    <?php $ids = "{exp:cookie:retrieve name='myschedule'}"; ?>
    <?php $ids = '{exp:cookie:retrieve name="myschedule"}'; ?>


    The first version - wrapped in double quotes - seems to work fine, but the latter version - wrapped in single quotes - is rendering a blank page. 

    Any ideas for future reference?
    Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases