?
Solved

Hot to add DIV to PHP function

Posted on 2011-02-27
3
Medium Priority
?
352 Views
Last Modified: 2012-05-11
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
Comment
Question by:DanSmir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 1000 total points
ID: 34992565
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
 

Author Comment

by:DanSmir
ID: 34992605
Yourrrrr GOD :)
Thank you!!!
0
 

Author Closing Comment

by:DanSmir
ID: 34992608
TXXXL!!!
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question