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.
DanSmirAsked:
Who is Participating?
 
Lukasz ChmielewskiConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.