title: Passing a value outside the form to another page in url PHP
body: <p>Im trying to build a web app where a user selects the value from a dropdown list and clicks the button next to the item. But only the value of select gets sent over to the next page.</p>
  
  <pre><code>  echo "&lt;td&gt;".$row["idTaco"]."&lt;/td&gt;&lt;td&gt;".$row["nameTaco"]."&lt;/td&gt;&lt;td&gt;".$row["priceTaco"]."&lt;/td&gt;&lt;td&gt;".$row["descTaco"]."&lt;/td&gt;";
      ?&gt;
  &lt;td&gt;
    &lt;form action="Includes/dodajVKosarico.inc.php?idTaco="&lt;?php $row["idTaco"] ?&gt; method="get"&gt;
      &lt;select name="kolicina"&gt;
        &lt;option value="1"&gt;1&lt;/option&gt;
        &lt;option value="2"&gt;2&lt;/option&gt;
        &lt;option value="3"&gt;3&lt;/option&gt;
        &lt;option value="4"&gt;4&lt;/option&gt;
        &lt;option value="5"&gt;5&lt;/option&gt;
      &lt;/select&gt;
      &lt;button type="submit" name="submit" class = "dodaj"&gt;Dodaj&lt;/button&gt;
      &lt;/form&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>The <code>row['idTaco']</code> works fine in the echo but when i try to send it using this form i cant pass the value to another page. Im sorry im still new to this. </p>