title: how to transfer value to another page with link?
body: <p><a href="https://i.stack.imgur.com/X1qZY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X1qZY.png" alt="Example"></a></p>
  
  <p>Hello i'm stil learning, using <strong>Codeigniter</strong> can someone tell me, or give example code?
  what i need is in <code>Round Id</code> we have <code>111</code> i want give it link and search database with value 111 how to do that? here the code i tried but still not right</p>
  
  <pre><code>&lt;div class="row" id="ajaxdata"&gt;
          &lt;table border="1"&gt;  
              &lt;tr&gt;
                  &lt;th&gt;Round Id&lt;/th&gt;
                  &lt;th&gt;Player Id&lt;/th&gt;
                  &lt;th&gt;Bet Place&lt;/th&gt;
                  &lt;th&gt;Total Bet&lt;/th&gt;
                  &lt;th&gt;Win&lt;/th&gt;
                  &lt;th&gt;Lose&lt;/th&gt;
              &lt;/tr&gt;
  
              &lt;?php foreach ($tbl_bet_spot as $data) {?&gt;  
                  &lt;tr&gt;
                      &lt;td&gt;&lt;a href="&lt;?php echo site_url('account/detail_round_id?select=111');?&gt;"&gt;&lt;?php echo $data-&gt;round_id;?&gt;&lt;/a&gt;
                      &lt;td&gt;&lt;?php echo $data-&gt;id;?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo $data-&gt;bet;?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo $data-&gt;total_bet;?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo $data-&gt;win;?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;?php echo $data-&gt;lose;?&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;?php } ?&gt;
              &lt;/table&gt;
          &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>controller</p>
  
  <pre><code>public function detail_round_id(){
          $select = $_GET['select'];
  
          $data['tbl_bet_spot'] = $this-&gt;login_model-&gt;selectRoundId_by_round($select)-&gt;result();
  
          print_r ($data);
      }
  </code></pre>
  
  <p>i just try with my code and it work now, but it's static in here </p>
  
  <pre><code>&lt;td&gt;&lt;a href="&lt;?php echo site_url('account/detail_round_id?select=111');?&gt;"&gt;&lt;?php echo $data-&gt;round_id;?&gt;&lt;/a&gt;
  </code></pre>
  
  <p>how i can send this value <code>&lt;?php echo $data-&gt;round_id;?&gt;</code> properly into controller? thanks a lot.</p>