jazzyscript Posted January 30, 2015 Share Posted January 30, 2015 Is there a way to use a separate file for form processing if I want the results to appear on the same page, right below the form? Or do I have to leave all my PHP code in the page itself? Link to comment Share on other sites More sharing options...
Ingolme Posted January 30, 2015 Share Posted January 30, 2015 If you don't want Javascript involved then the PHP code needs to be on the same page. You need test whether a form has been submitted or not. These days it's most common to have an application using AJAX to load the results of the form processing and show them on the page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now