Re: [SMARTY] Smarty bug? or stupid coder?
| From: | Manfred 'dwerg' Stienstra | Date: | Wed, 13 Nov 2002 09:43:26 +0000 |
| Subject: | Re: [SMARTY] Smarty bug? or stupid coder? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6409@lists.php.net to get a copy of this message | ||
On Wednesday 13 November 2002 09:26, Jason Dunbar wrote:
> // time to clean up after ourselves
> unset($oReadPosts);
Php throws away the script enviroment after execution, so you don't have to
unset stuff.
> !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xml:lang="en" lang="en">
If you're using Mozilla as a browser (I don't know what other browsers do) and
the html is not xhtml (strict) compliant, the browser won't display anything.
Maybe for testing purposes it's better to exclude this header.
The template and the code looks fine to me, so I think this isn't smarty
related.
Manfred