Include $variable in description ?

BrianD <[email protected]>
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <a318ca04062a98e007633a04d8286111@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=186459#186459
----------------------------------------------------------------

Has anyone done this - can it be done ?

I'd like to include a php $variable in a product description - so that my product descriptions can include certian dynamic information.

I've tried every combination of quotes etc ... that I know - nothing works, all I get is the $variable being printed.

e.g. this product description was given a '.$rating.' rating by everyone....

outputs....

this product description was given a $rating rating by everyone ....

Any ideas?

BrianD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.