开发者

codeigniter views setup problem

I have two views from a form, one is loaded in my codeigniter index, and another is loaded in its on function. how do i make the form work so that when i click 开发者_如何学Pythonsubmit on the first form it loads the new view/function as the new


if i understand your question,

i think you need to set the action of the first form to be the url of your second controller

<form action=/controller/form2 >

or you can do a redirect

or you can simply load the form2 instead of form1

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜