I know this, I really do, but I am having a brain fart I guess... I have a php script which outputs the value of a certain (numeric) field. This field is updated regularly and automatically. When the info is echo'd to the screen, I want the numeric output to show its value with the appropriate comma in place Example: number = 1234567890 Should show as = 1,234,567,890 Within my MySQL fetch array, I have: $number = $row['number']; What should it be to add the comma after every 3rd number? I know it is a preg_replace, but again, brain fart...