Hello guys I have this html code with php variable the text will be display in color black but I don't know how to make the variable to be in color red
here is the code
<br>Your Intrest Rate is: ".$interest_rate."%\n<br>
<br>Your Intrest Rate is: ".<a color=red>$interest_rate</a>."%\n<br>
I cannot see PHP tags or PHP code, but assuming this is a string inside PHP tags (since there is no problem without the anchor tag), your problem is the HTML tags outside the string.
<br>Your Intrest Rate is: <span style='color:red'>".$interest_rate."%</span><br>