Integrated Template
| From: | Adam Morton | Date: | Fri, 13 Sep 2002 17:29:45 +0000 |
| Subject: | Integrated Template | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2298@lists.php.net to get a copy of this message | ||
Hello out there! I found some problems with the PEAR HTML templating
system and wasn't sure where I should post to bring it to someone's
attention.
I created a template that was similar to the example on pear.php.net:
http://pear.php.net/manual/en/packages.templates.it.php
The only change I made to the template itself was to add a Block around
the whole table in case no variables were set, then the table wouldn't
show up. However, if your $data array contains all NULL variables the
script does not execute. No HTML output is sent to the browser and the
browser appears to go into an infinate loop.
If anyone can give me a little insight on what may be occuring, please
let me know. And if this is an error, then WOOT I found it! :)
Adam
---------------------------------
Adam Morton
Developer - Web Technology Group
Appalachian State University
http://phpwebsite.appstate.edu
adam@tux.appstate.edu
---------------------------------
Adam Morton
Developer - Web Technology Group
Appalachian State University
http://phpwebsite.appstate.edu
adam@tux.appstate.edu