i inserted a salary into mysql with a text file but the command i said was to end field with comma, so i just made 750,000 like this in the txt file like this 750000
ok so how can i format my php to display it as the 750,000
and even better add a floating dollar sign would help as well
case 1:
print "<tr><td> <td><a href=\"player.php?id=$a[pos2]\" style=\"color: #fff\"><img src=\"../player_faces/$a[face].BMP\"height= 50 weight=50></td><td><a href=\"player.php?id=$a[pos2]\" style=\"color: #fff\">$a[name] </a><br>Jersey #: $a[jersey] </td><td>$a[pos2] </td><td>$a[rs] </td><td>$a[rp] </td><td>$a[ms] </td><td>$a[hp] </td><td>$a[bc] </td><td>$a[rec] </td><td>$a[yrs]</td><td>$a[salary]</tr>";
break;
thats just a sample code for one case check the last field uploaded.
thanks for any help