开发者

codeigniter views setup problem

开发者 https://www.devze.com 2023-03-08 09:32 出处:网络
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 fo

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

精彩评论

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

关注公众号