开发者

php redirect not working but... working...?

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 ou开发者_如何学JAVAt 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.


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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜