View Single Post
  #2  
Old January 29th, 2011, 10:38 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

It's pretty much the same way as the price, except simpler:

HTML Code:
<?php
function merchant_title($merchant) {
    $merchant = strip_tags($merchant);
    return $merchant;
}
?>

<title>[category.name] | <?php if (@$_GET['merchant']) { ?> Provided by <?php echo merchant_title($_GET['merchant']); ?> | <?php } ?> </title>