title: Trying to Echo a value from a select drop down in PHP
body: <p>I am in school for web development, so I clearly don't know a lot yet.  I am trying to grab a value from a select, and output it in a paragraph.  I know it's about the Browns, but everything else works, but I cannot seem to find anything on StackOverflow, or Google on how to grab the value that works.  I get the following error:  </p>
  
  <p>Notice: Undefined variable: draft in C:\wamp\www\lab 5\process.php on line 42</p>
  
  <p>This error is in my paragraph, which makes me think I am grabbing the value, but it isn't outputting correctly?  I am using a variable to show where I want to output that value in the paragraph.</p>
  
  <p>This is my HTML:</p>
  
  <pre><code> &lt;li&gt;&lt;select id="uDraft"
              &lt;select&gt;
              &lt;option value="Draft Offense"&gt;Draft Offense&lt;/value&gt;
              &lt;option value="Draft Defense"&gt;Draft Defense&lt;/value&gt;
              &lt;option value="Trade them, we can't pick good anyways"&gt;Trade them,  we can't pick good anyways&lt;/value&gt;
  
          &lt;/select&gt;&lt;/li&gt;
  </code></pre>
  
  <p>This is my process.php code:</p>
  
  <pre><code>if(isset($_GET["uDraft"])){
  $draft= $_GET["uDraft"];
  }
  echo "I want to output **$draft var** as the value they choose so it shows                       the choice in a paragraph that is pre-written"; 
  </code></pre>
  
  <p>All of my other text boxes work, I just cannot seem to get the value from the select, so that I can show what it says in the text, into the paragraph.  I also had a select for wins, but gave up when I couldn't figure out how to grab the value.  I know I can use radio buttons, but I am trying to learn how to grab the value from the drop down.  Any help would be greatly appreciated.</p>