Skip to content
Advertisement

How to bold a variable?

How can I have text within a php variable be bold??

JavaScript

I want to bold $balance. Is there an easy way or do I need to edit display_amount?

I’ve tried doing this:

"<b>".$balance"</b>" but this did not get the correct variable,

thanks in advance!!

Advertisement

Answer

answer is to edit the inner function display_amount using Raeki’s suggestion, for future questions, i think you must edit the inner-most function as only editing function show_balance_header did not get the correct variable

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement