我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

codeigniter查看设置问题

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 submit 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

近期文章

  • PHP Parse错误 - 意外$ end [关闭]
  • 使用复选框在列表中显示SQL数据
  • Wordpress截断标题
  • Zend Framework找不到Model
  • 防止PHP preg_replace替换shortcode标记内的文本
  • 将postgres bytea字符串转换为php字节字符串
  • 要删除查询! 我已经尝试过已有的帖子。 它没用。
  • 将值存储在php中的数组中
  • CakePHP基于hasMany关系在array()中获取匹配项
  • 在PHP中按顺序查询多个MSSQL表中的一个值
  • 使用PHP获取字符串中的分隔标点符号
  • 编码技术效率问题:聊天室设计
  • 如何混合PHP和Rails部署?
  • Cakephp变量问题 - 使用全局变量?
  • Symfony:创建无效的MySQL代码?
  • CakePHP更新状态Twitter和Facebook
  • php GD验证码图像未在Mac上显示
  • move_uploaded_file无法在ubuntu 10.04中运行
  • 如何将网站内容发布到Facebook墙上?
  • 连接到数据库之前执行工作

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华