Thanks stolzyboy but I had a look a that and could only find examples of where people have explictly hard coded a number into a variable :
$val1 = 1.233;
echo number_format($val1,2,",",".");
What i need is something that I can format using my code:
<? =$rs["Attendance"]; ?> )
I have tried using number_format with my code but I cant get it to work etc? e.g <? number_format(=$rs["Attendance"]; ); ?>
Any more suggestions?
Thanks in advance
N.