I have a PHP function with the following line:
print ' <span class="highlight">SALE!: </span><span>£</span>'.$sxml[sales_price_inc];
I need to apply this CSS style:
style="text-decoration:line-through;
to the
.$sxml[sales_price_inc]
variable text it prints
1 Answer