Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

php code question...

Status
Not open for further replies.
Joined
Apr 18, 2007
Posts
3,838
Reaction score
181
I am currently calling brand related titles using 2 bits of code...

case "brand":
$banner["h2"] = translate("Golf shoes from ")." <strong>".$parts[1]."</strong>&nbsp;";
break;


and...


case "brand":
$header["title"] = "Golf shoes from ".$parts[1];
break;


How do I change these both to read "BRAND Golf Shoes" instead of "Golf shoes from BRAND"

Thanks!
 
Yo dude

case "brand":
$banner["h2"] = "<strong>".$parts[1] . "translate("Golf Shoes") . " </strong>&nbsp;";
break;

and...


case "brand":
$header["title"] = $parts[1] . "Golf Shoes";
break;


Should do the trick
 
  • Like
Reactions: mat
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom