Re: HELP ! document contains no data error
| From: | Steven Werby | Date: | Wed, 16 Aug 2000 06:16:59 +0000 |
| Subject: | Re: HELP ! document contains no data error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11930@lists.php.net to get a copy of this message | ||
Chuck Barnett <xobyte@bellsouth.net> wrote:
> Why is it that I get a "document contains no data error" when generating
> page from my database in Netscape but the same code works fine in IE?
If you post the code for the page it will be easier to help you. If you use
include() or require() you may have a syntax error in the file you are
including. Check to make sure that you don't have mismatched brackets {}. Also,
I seem to recall getting the same error in Netscape earlier this year and fixing
it by declaring the PHP variable $PHP_SELF as global. In any case, the error
means that the HTML code sent to the Netscape browser contained no output and
Netscape gives that error if that's the case while IE does not. And IE is also
less strict about bad HTML code.
--
Steven Werby {steven-lists@befriend.com}
President, Befriend Internet Services LLC
http://www.befriend.com/ 804-355-WEBS