Solved

Hot to add DIV to PHP function

Posted on 2011-02-27
3
342 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
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now