title: sending a value with input get?
body: <pre><code>&lt;a href="companies.php?id='. $_GET['id'] .'&amp;offset='. $next_offset .'"&gt;&lt;input id="button" type="button" value="More"/&gt;
  </code></pre>
  
  <p>i somehow want to send &amp;offset=avalue but useing a input button. without the id.</p>
  
  <p>how can i do the similer thing with useing form action get ?
  like ( warning epic fail ) i should add a hidden input or something ?</p>
  
  <pre><code>    echo '&lt;form action="welcome.php" method="get"&gt;';
      echo '&lt;a href="companies.php?id='. $_GET['id'] .'&amp;offset='. $next_offset .'"&gt;&lt;input id="button" type="button" value="More"/&gt;&lt;/a&gt;';      
      echo '&lt;/form&gt;';
  </code></pre>
  
  <p>please comment if you guys dont understand thanks!</p>
  
  <p>ok somehow i have manage to make it work</p>
  
  <pre><code>    echo '&lt;form action="companies.php?id='. $_GET['id'].'" method="get"&gt;';
      echo '&lt;input type="hidden" name="offset" value="'.$next_offset.'"&gt;';
      echo '&lt;input id="button" type="submit" value="More"/&gt;&lt;/a&gt;';     
      echo '&lt;/form&gt;';
  </code></pre>
  
  <p>but still have an error <a href="http://local.host/networks/companies.php?offset=5" rel="nofollow noreferrer">http://local.host/networks/companies.php?offset=5</a>, where does my get id goes ?
  btw im still checking it out and thanks guys :)</p>
  
  <p>and aha! it works</p>
  
  <pre><code>    // MORE PLUGIN
      echo '&lt;form action="companies.php" method="get"&gt;';
      echo '&lt;input type="hidden" name="id" value="'.$_GET['id'].'"&gt;';
      echo '&lt;input type="hidden" name="offset" value="'.$next_offset.'"&gt;';
      echo '&lt;input id="button" type="submit" value="More"/&gt;&lt;/a&gt;';     
      echo '&lt;/form&gt;';
      // END PLUGIN
  </code></pre>