Re: [Phplib-users] dumping vars in a block
Brought to you by:
nhruby,
richardarcher
From: Richard A. <rh...@ju...> - 2001-08-14 00:08:38
|
At 4:41 PM -0700 13/8/01, Daniel Bondurant wrote: >I am using the template class. >I have a repeating block in a while loop with about 25 vars in it. >... >not every record is going to have address2 >how do I clear out all the vars in this block before setting them all >for the current record and parsing again. Won't the line: $tpl->set_var("address2",$q->f("address2"); clear the var if there's no value? ...Richard. |