-
-
-
I'm still trying to figure out what you want to do. I don't see why you need to submit the form using Javascript at all. I don't understand why you'd be auto-submitting a form at all really; you can't submit the form until the user has input the data, and if you already have the data to begin with and don't need user input, you shouldn't even bother using forms; just pass the data directly to the PHP files in some way.
Could you have a form, and when they click Submit, do whatever you need to in PHP, and then output the results in plain old HTML? If you want to display the results in a form, you can do that with HTML; set a value for all the form elements bases upon the results from the database stuff. You don't need to re-submit the form, which is what it appears you're doing.
So far as the PHP files, you can use the PHP "include" or "require" statements to include and evaluate other PHP files from the current file.
-
-
I gave you W3schools so you could look up the alternatives to the current command your using, duh
-
-
I knew, duh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules