title: Getting the value of <button> using PHP
body: <p>I am using Codeigniter and as much as possible i don't want to use the $_GET method. What are the other ways to get the value of a button tag?</p>
  
  <p>Here's my button code:</p>
  
  <pre><code>&lt;button id="first" name="first" type="submit" value="Php3000"&gt;&lt;/button&gt;             
  </code></pre>
  
  <p>I just want to get the value of the button to be able to pass it to my controller.</p>
  
  <p>I am a beginner, please enlighten me. Thank you.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Sorry for not making it clear to you guys, actually i have three buttons</p>
  
  <pre><code> &lt;button id="first" name="first" type="submit" value="Php3000"&gt;&lt;/button&gt;                
   &lt;button id="second" name="second" type="submit" value="Php2000"&gt;&lt;/button&gt;              
   &lt;button id="third" name="third" type="submit" value="Php2500"&gt;&lt;/button&gt;    
  </code></pre>
  
  <p>The user must choose among those three buttons and I should get the value of the chosen button.             </p>
  
  <p>Example of what i want to do : <a href="http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_button_value2" rel="nofollow">http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_button_value2</a></p>
  
  <p>There it displayed the value of the button, i want to get it and pass it to my controller</p>