Welcome Guest, Not a member yet? Register   Sign In
how to use subcontroller
#1

[eluser]ranjitbd[/eluser]
//we can create folder in views and accees them thorough

$this->load->view('tmbd/contact_us')

//like that

//following is a function call where losAngles is the controller hollywood is the method name


<a href="&lt;?=base_url()?&gt;losAngles/hollywood.html">travelmartbd.com</a>

//if i create a folder in controller name usa and losAngles is inside the usa folder then what will be the code

<a href="&lt;?=base_url()?&gt;usa/losAngles/hollywood.html">travelmartbd.com</a>// is it corret?


Messages In This Thread
how to use subcontroller - by El Forum - 08-29-2009, 12:44 AM
how to use subcontroller - by El Forum - 08-31-2009, 12:17 PM
how to use subcontroller - by El Forum - 08-31-2009, 12:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB