title: pass session variables from one page to another
body: <p>i have a php page that is a sort of submition form with 3 dropdown sections, that have to send the selections from the dropdowns when you click a button. The form is as follows:</p>
  
  <pre><code>&lt;div class="statsValPlate"&gt;
              &lt;label&gt;Main Score&lt;/label&gt;
              &lt;select name="scoreSelect"&gt;
                  &lt;option value="301"&gt;301&lt;/option&gt;
                  &lt;option value="501"&gt;501&lt;/option&gt;
                  &lt;option value="701"&gt;701&lt;/option&gt;
                  &lt;option value="1001"&gt;1001&lt;/option&gt;
              &lt;/select&gt;
          &lt;/div&gt;
          &lt;div class="statsValPlate"&gt;
              &lt;label&gt;Legs Format&lt;/label&gt;
              &lt;select name="legSelect"&gt;
                  &lt;option value="3"&gt;2 of 3&lt;/option&gt;
                  &lt;option value="5"&gt;3 of 5&lt;/option&gt;
                  &lt;option value="7"&gt;4 of 7&lt;/option&gt;
                  &lt;option value="9"&gt;5 of 9&lt;/option&gt;
              &lt;/select&gt;
          &lt;/div&gt;
          &lt;div class="statsValPlate"&gt;
              &lt;label&gt;Sets Format&lt;/label&gt;
              &lt;select name="setSelect "&gt;
                  &lt;option value="3"&gt;2 of 3&lt;/option&gt;
                  &lt;option value="5"&gt;3 of 5&lt;/option&gt;
                  &lt;option value="7"&gt;4 of 7&lt;/option&gt;
                  &lt;option value="9"&gt;5 of 9&lt;/option&gt;
              &lt;/select&gt;
          &lt;/div&gt;
          &lt;form method="get" action="scoreboard.php"&gt;
              &lt;button id="submit" name ="submit" class="push_button red"&gt;Start Game&lt;/a&gt;&lt;br&gt;
          &lt;/form&gt;
  
  &lt;?php
  
          $_SESSION['gameScore'] = $_POST['scoreSelect'];
          $_SESSION['legScore'] = $_POST['legSelect'];
          $_SESSION['setScore'] = $_POST['setSelect'];
  
  ?&gt;
  </code></pre>
  
  <p>and i want for instance the selection of the first form has to show up as a label value here:</p>
  
  <pre><code>&lt;label class="scorePlate" id="num1" value="&lt;?php echo $_SESSION['gameScore']?&gt;"&gt;
                              &lt;!--&lt;?php echo $_SESSION["player1Score"]?&gt;--&gt;
                              &lt;script&gt;
                                  document.write(new_score_player_1);
                              &lt;/script&gt;
                          &lt;/label&gt;
  </code></pre>
  
  <p>but for some reason it doesn't work. What's the problem</p>