Support » Plugin: PHP Code for posts » multi var error on page

  • hi guyz,

    I have this problem…

    I use this:
    [php snippet=2 param=”var1=val1&var2=val2″]

    with this code snippet:
    <?php echo $_parameters[“var1”]; ?>
    <?php echo $_parameters[“var2”]; ?>

    in a widget is all ok, but if I use this in a page, only the first var work..


    return on widget

    return on page

    tnx for support!

Viewing 1 replies (of 1 total)
  • ok solved…

    in page this code work fine:

    [php snippet=2 param="var1=val1& amp;var2=val2"]

    & amp;” instead of “&

    (“& amp;” without space)

Viewing 1 replies (of 1 total)
  • The topic ‘multi var error on page’ is closed to new replies.