RE: [PHP] strange error
| From: | Erik H. Mathy | Date: | Wed, 22 Aug 2001 19:19:37 +0000 |
| Subject: | RE: [PHP] strange error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63957@lists.php.net to get a copy of this message | ||
Heya!
All adive given so far is good. You might also want to check for a
non-closed if { } statement.
If you've got something like:
-----
<html>
<? if(isset($foo)) {?>
html 1
<? } else { ?>
html2
</html>
-----
You'll get an error in the last line, where the </html> resides.
Hope this is a helpin'
- Erik
> -----Original Message-----
> From: Jeremy Morano [mailto:jeremy@prepresshelp.com]
> Sent: Wednesday, August 22, 2001 2:12 PM
> To: php-general@lists.php.net
> Subject: [PHP] strange error
>
>
> Hi,
>
> I get an error message which I can't figure out.
>
> Its a Parse error: on line 142 which is the last line of the page
> containing
> absolutly no code. The last line of code is simply </HTML>..........Did
> anyone have a similar experience? Can anyone help me out please?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>