• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

Hot to add DIV to PHP function

Hello friends,
I have this PHP function: $product_details = $VM_LANG->_('PHPSHOP_FLYPAGE_LBL');
But i need to put 'PHPSHOP_FLYPAGE_LBL' inside div with class. How can i do it?

Thank you.
0
DanSmir
Asked:
DanSmir
  • 2
1 Solution
 
Lukasz ChmielewskiCommented:
I do not know this predefined variables but try like this:
$product_details = "<div class='myclass'>".$VM_LANG->_('PHPSHOP_FLYPAGE_LBL')."</div>";

Open in new window

0
 
DanSmirAuthor Commented:
Yourrrrr GOD :)
Thank you!!!
0
 
DanSmirAuthor Commented:
TXXXL!!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now