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.