title: How can I send two values with one button?
body: <p>Is it possible to submit two values from one button?</p>
  
  <pre><code>$orderby = $_GET['orderby'];
  
  &lt;form action="mypage.php" method="get"&gt;
  &lt;a&gt;&lt;button name ="orderby" value="name" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  &lt;a&gt;&lt;button name ="orderby" value="age" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I imagine something like this:</p>
  
  <pre><code>&lt;a&gt;&lt;button name ="orderby" value1="name" value2="ASC" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  &lt;a&gt;&lt;button name ="orderby" value1="name" value2="DESC" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  &lt;a&gt;&lt;button name ="orderby" value1="age" value2="ASC" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  &lt;a&gt;&lt;button name ="orderby" value1="age" value2="DESC" type="submit"&gt;&amp;#9660;&lt;/button&gt;&lt;/a&gt;
  </code></pre>