And here is the entire code for the process page. Perhaps you can see an error in my code that I'm missing.
<?php require_once('../Connections/spectrum.php'); ?>
<?php include_once "../mainfile.php"; //load the global vars and functions
echo "<pre>".print_r($_POST, true)."</pre>";
if...
I'm guessing my code is still flawed on the process page, because I have dumped the $_POST to the screen, it's all there, but it fails after that. Nothing is submitted to the database.
Well it turns out it was the submit button didn't have the name set. It's always the little things right?
thanks a ton for taking the time to work me through this.
Ok, that's exactly what was happening with the 404. So now I at least know that the else statement is kicking it over to index.html. Is there anyway to debug and find out why??
Ok, I took a run at the method you suggested, but I am running into a brick wall. for some reason, when I submit the form, it tries to load the processing page and gives me a 404 error. I have uploaded the file and verified it's exisitance. Would something in my code below be causing this? Also...
I have a very long form that the user inputs data about a client. Within the form are fields for various contacts for that client company.
Am I able to use one submit and have it submit some of the fields to the client table and some of the fields data to the contacts table? At the same time...
Ok, I'm not sure if this is possible but it should would be handy.
I have a database full of records, including a few fields with financial data. The user wants a new field added to calc the profit based off of two other fields. I have written code that will calc it on the users webpage for new...
I have written a function that does a few calculations based on numbers entered into several fields. I have most of it working, but a few things just don't ever fire and perhaps someone can see what's errored in my code.
Background: User inputs the vendor list price, quantity, a discount (if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.