title: calling controller method in href in a button, in a view
body: <p>iam back with another question to do with mvc and codeigniter. just getting a bit confused with the concept of MVC.  First of all i have a button. i want it to reference another page. how i was going to access the next "view" or page was from this view was with a simple href="" inside a button like below.</p>
  
  <pre><code>href="&lt;?php echo base_url();?&gt;index.php/user/admin"
  </code></pre>
  
  <p>but this is a call to a method in my controller, which redirects to admin page. from what ive read this is bad practice as you cant call a controller method from a view. fair enough. but how do i actually link to the next page then? cheers</p>