29 September 2004 - 23:51PHPTAL And Outputting Variables With HTML
On thing that I had no idea about when designing my first site using PHPTAL was it’s curious feature where it automatically escapes all HTML output. I can see how this would be quite helpful, since there could be situations where harmful code could be injected into one of the variables and bad things would occur. Not only that it forces the content to adhere to the XHTML standards on it’s own. This did not work for me. I had a TON of data in HTML out of a database that needed to get dumped into a table, and I couldn’t change the format. It was NOT in the documentation on the Sourceforge site, or in the SGML documentation distributed with the software. Well, it took a ton of searching, but I’ve found it. The structure keyword. Read on for usage.
No Comments | Tags: Programming