I am trying to assign a single HTML text field 2 names such as 'keywords' and 'search'. I am perl based and use Fcntl.
<CODE>
$main_template =~ s/%%keywords%%/$fields{'keywords'}/g;
$main_template =~ s/%%searcresults%%/$pitem/g;
</CODE>
<CODE>
$main_template =~ s/%%keywords%%/$fields2{'search'}/g;
$main_template =~ s/%%premiumlistings%%/$premiumitem/g;
</CODE>
The actual file (if nedded) can be found at
<CODE>
$main_template =~ s/%%keywords%%/$fields{'keywords'}/g;
$main_template =~ s/%%searcresults%%/$pitem/g;
</CODE>
<CODE>
$main_template =~ s/%%keywords%%/$fields2{'search'}/g;
$main_template =~ s/%%premiumlistings%%/$premiumitem/g;
</CODE>
The actual file (if nedded) can be found at