title: How I can pass multiple parameters to URL in php
body: <p>I have a problem in passing 2 parameters via URL
  I don't know how, so I wrote this:</p>
  
  <pre><code>&lt;form method="get" &gt;
     &lt;b&gt;Enter the Quantity you want:&lt;/b&gt;
     &lt;input type="text" name="quantity"&gt;
  &lt;/form&gt;
  
  &lt;br&gt;&lt;br&gt;
  
  &lt;a href='./shopping-cart.php?part_id="&lt;?php echo $_GET['part_id']; ?&gt;"&amp;quantity="&lt;?php echo $_GET['quantity']; ?&gt;"'&gt;
     &lt;img src="add_to_shopping_cart.png"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p><code>$_GET['part_id']</code> this var from another URL and I want to pass it again and <code>$_GET['quantity']</code> quantity from form.</p>