thousand seperator prob
Posted: Mon Feb 20, 2006 2:27 am
i usually use this code to get the number format that i want:
But when i get my data like this:
I dont know how to include the "number format" in there!?!:?
Anyone got an idea?
Code: Select all
$jan['to_sam_jan']=number_format($jan['to_sam_jan'],2, '.', ',');Code: Select all
echo "</tr>";
while ($row = mysql_fetch_row($ergebnis)){
echo "<tr>";
for ($i = 0; $i < mysql_num_fields($ergebnis); $i++){
echo "<td align=\"center\">$row[$i]</td>";
}
echo "</tr>";Anyone got an idea?