Jump to content

nethnet

Members
  • Posts

    284
  • Joined

  • Last visited

Everything posted by nethnet

  1. What DavidAM is saying is true. The second set of code always produces an error, because nowhere is the variable $error defined (at least, not in the scope of the code you have posted). The only reason it is showing an error when the two sources are placed in the same script is because the first set of code essentially says "Hey, if there is an error, let's go ahead and print it to the browser." Post the full code of the script so we can see where/why your $error variable isn't being set.
×
×
  • 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.