I have a $total price which is an integer.
I now want to print this is a particular format.
I.e. 12999 Should become £12,999
Any ideas on how to use printf() or are there predefined functions ready for this?
There is an example showing how to do this with printf / sprintf in the PHP annotated manual at www.php.net. However, you would be better off using the number_format() function, which is designed for this purpose.