how to use jump to a specific div of current page in codeigniter
<p>How do i convert this to codeigniter?</p>

<p>my php code for calling link is this</p>

<pre><code>&lt;ul&gt;
&lt;li&gt;&lt;a href="index.php?option=register"&gt;Register Here&lt;/a&gt;
&lt;li&gt;&lt;a href="index.php?option=login"&gt;Login&lt;/a&gt;
&lt;/ul&gt;
</code></pre>

<p>When I call this this specific link will be called.</p>

<pre><code>&lt;?php

@$opt = $_GET['option'];

if($opt=="") { 

    include('register.php');
    error_reporting(1);

} else {

   switch($opt) {

   case 'register':
             include('register.php');
             break;

    case 'login':
             include('login.php');
             break;

    }
}
</code></pre>

<p>But I don't know how to do it in code igniter.
please help me</p>