PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Need help combining multiple variables in URL Query Strings

  1. I have been going through the forums for the past couple of hours trying to figure out something regarding the redirect.

    agree={Test:5} $nonallergic) {
    header("Location: http://-------allergic-rhinitis/");
    break;

    } else ($i == 2) {
    header("Location: http://-------mixed/");
    break;}

    The issues I am having is in the initial "agree={Test:5}" case I can get agree=yes but even if I change the value of yes in the form to 1, I can not get agree=1

    Also I am not sure if I can add the values together like I wish into 2 variables.

    Finally I am not sure if I first require..

    $allergic = $_GET['allergic'];
    $nonallergic = $_GET['nonallergic'];

    Any help is appreciated as this is my first time doing this...

    Cheers

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  2. So... still need help with this if any is available. Trying to get past my problem by adding all fields, but really just want their value in the query string. Any suggestion?

    Currently have
    result={None of the above:2.27}&{Alcohol:2.26}&{Spicy food:2.25}&{Weather and temperature changes:2.24}&{Air conditioning:2.23}&{Petrol fumes:2.22}&{Pine odour:2.21}&{Sawdust:2.19}&{Exhaust fumes:2.18}{Hairspray:2.17}&{Paint fume:2.16}&{Cleaning products:2.15}&{Cosmetics:2.14}&{Soaps:2.13}&{Perfume/cologne:2.12}&{Smoke:2.11}&{Cat/cat hair:2.9}{House dust:2.8}&{Weeds:2.7}&{Trees:2.6}&{Pollen:2.5}{Flowers:2.4}&{Hay:2.3}&{Dead grass:2.2}&{Mowed grass:2.1}

    Posted 12 years ago on Tuesday February 14, 2012 | Permalink