Passing variable with URL but not able to make decision with Switch statement
<p>On page1.php, i use </p>

<pre><code>&lt;a href="page2.php?choice=&lt;?php echo $value?&gt; &amp; item1=&lt;?php echo $abs1?&gt; &amp; item2=&lt;?php echo $abs2?&gt;" title="Link to next page"&gt;Download&lt;/a&gt;
</code></pre>

<p>On page2.php, i receive these variables correctly as iam able to echo those. But Switch statement doesn't work.</p>

<pre><code>echo $_REQUEST["choice"];echo "&lt;br&gt;"; //printing variable to debug
echo $_REQUEST['item1'];echo "&lt;br&gt;";  //printing variable to debug
echo $_REQUEST['item2'];echo "&lt;br&gt;";  //printing variable to debug

switch((string)$_REQUEST["choice"]) {
    case "Value1":
            echo "Value 1 selected";
            break;
    case "Value2":
            echo "Value 2 selected";
            break;
    case "Value3":
            echo "Value 3 selected";
            break;
        default:
                                 echo "No Value selected";
    }
</code></pre>

<p>It always give:  <strong>No Value selected</strong> . Please help, Thanks in advance.</p>
