Page 1 of 1

[SOLVED] displaying £

Posted: Tue Mar 30, 2004 3:37 am
by negar
I want the £ to show before the price is displayed. I am using the code below but all i get is a ? instead of £:

Code: Select all

<td><b><font color='#800080'>Total Price: £";  printf ("%.2f",$total_price); echo"</font></b></td>



can anyone help...thanx

?>

Posted: Tue Mar 30, 2004 3:47 am
by CoderGoblin
Try using HTML entity &pound; instead of the £ symbol.

thanx

Posted: Tue Mar 30, 2004 5:30 am
by negar
thanx so much..it worked!!!!!!!!!