Welcome Guest, Not a member yet? Register   Sign In
moving through a form based app
#1

[eluser]Unknown[/eluser]
i have a basic question that i am sure has been answered before (although i can't find anything)

i have a step-by-step form based app that takes values and passes them to the next form and the next...

right now i have a controller with a function and view for each form. i need to post the form to the function and call the next form. the problem is matching the url with the form function. i can post the data and load the next view, but the url is showing the wrong function. example:

function addCar() {
//do post variable stuff...
$this->load->view('addAccessories');
}

if i have a form addCar, i can post it to func addCar() and get the data. then i can load the next form addAccessories, but it still has "addCar" in the url.

so how can i have a function and view of the same name, then pass the flow to then next func and view.

thanks!


Messages In This Thread
moving through a form based app - by El Forum - 07-25-2007, 07:13 PM
moving through a form based app - by El Forum - 07-31-2007, 10:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB