Welcome Guest, Not a member yet? Register   Sign In
anchor for #
#4

[eluser]anyamanggar[/eluser]
Code:
<ul class="dropdown">
  &lt;?php foreach ($multilevel as $data): ?&gt;
<li>&lt;?php echo anchor('halaman/' . $data['url'], $data['nama']); ?&gt;
<ul class="sub_menu">
&lt;?php echo print_recursive_list($data['child']);  ?&gt;
  </ul>
        &lt;?php endforeach ?&gt;
        </ul>

thats my view, if i insert data in my database, and for my input url ($data['url']) like #, so the view must be like this huh? &lt;?php echo anchor('halaman/#' . $data['url'], $data['nama']); ?&gt; ?? so when i klik its link ??


Messages In This Thread
anchor for # - by El Forum - 07-23-2012, 10:53 PM
anchor for # - by El Forum - 07-23-2012, 11:39 PM
anchor for # - by El Forum - 07-23-2012, 11:55 PM
anchor for # - by El Forum - 07-24-2012, 12:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB