doutan1875 2010-06-21 18:25
浏览 7

php重定向不工作但......工作......?

So I changed the structure of my site around some and such and I guess I broke the script some how. When the user fills out a form correctly, they should be directed to the appropriate page. Instead it just sits there. However, if I test the form directly from form.php it works.

Here is some info on the form.

form.php is the actual form. submit.php does error checking, inserting into database, email message, redirect. script.js does ajax to make the form more user friendly.

Remember, this all works if I go directly to form.php and fill out the form. However, going to register.php which simply has added to it the header and footer and the body for form.php it does not work. What could be wrong?

Thanks for your time.

  • 写回答

1条回答 默认 最新

  • doude4201 2015-09-04 07:50
    关注

    You propably included the jQuery framework twice, that causes much problems.

    评论

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?