Generating txts

From: Date: Mon, 07 Oct 2002 15:46:46 +0000
Subject: Generating txts
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6103@lists.php.net to get a copy of this message
Hi, I'm using Smarty templates to generate txt files given a layout, the problem is that it's rather unconfortable to place each field in the right position, I believe I should code a block function or a function to ease the job but I'm not sure about the best approach so I request your ideas. I pull lot of fields from tables an have them in smarty variables I have a file describing the layout such as field position length spec name 0 4 name id 4 8 id(padded with zeros) date 12 6 aammdd etc... Thanks a lot, Garland

« previous php.smarty.general (#6103) next »