Thursday, 22 August 2013

codeigniter linking to another page

codeigniter linking to another page

i am new to codeigniter framework. i am having problem with href link. in
my home page i have some menu, that goes to different page. for example in
normal php if i want to go Sell Books page then i just put sellBook.php in
href link. now in codeigniter how can i do this. do i need write something
in controller ?
<li ><a href="http://www.studenthint.com/">Home </a> </li>
<li><a href="">Buy Books</a> </li>
<li><a href="sellBook.php">Sell Books</a> </li>
<li><a href="#">Books on Demand</a> </li>
<li><a href="#">Request a Book</a> </li>
<li><a href="#">About Us</a> </li>

No comments:

Post a Comment