Jump to content

SeanF

New Members
  • Posts

    4
  • Joined

  • Last visited

SeanF's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the input. What would you suggest as a good editor for PHP coding? I have been using "BBedit" for years but I am sure there's a better editor that would help me. Thanks again
  2. Great. Thank you for pointing out the validator site. This is old code from an application I wrote about 18 years ago and there is a LOT of outdated syntax. I have a lot of work to do but at least now I know where to start. Thanks again
  3. The "test" input is in the quote box immediately following "And then placed the following code in the body of the form:" I place that echo statement either immediately before or immediately after the echo statement which is the "offending code" when the "input" is before the "offending code" all $_POST variables are set as expected. When the "input" is after, all of the $_POST['test'] is null as are all the $_POST variables from that point on Thanks again
  4. I have a form which has been working perfectly well for one user for a couple of years. Now, I have added a new user and the form fails for that one user. (I can't see a difference in user configuration.) The problem is that when the form is submitted using the following button: The form is submitted but it returns with no values set and does not process any of the form data. Even echoing out $_POST['submit'] returns a null value I have placed the following code at the top of the page: And then placed the following code in the body of the form: When the page first loads "test" is NULL as one would expect. If I place the "test" hidden input element at the top of the form and click "Next" the value of test is "Test"... correct If I place the "test" hidden input element at the bottom of the form and click "Next" the value of test is NULL By moving the hidden input I have found that there is a specific part of the form which is causing a problem. If the input element is before the code, "test" has a value. If it is after that code, "test" is null. The offending code is here: I can't for the life of me figure out why this is causing a problem. Any thoughts would be greatly appreciated
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.