How do I format the output of a string?
There are a large range of uses for this function and rather than repeat the detailed documentation, take a look at the PHP manual page on sprintf here:
http://uk3.php.net/manual/en/function.sprintf.php
Comment on this Question and Answer >>>
ASK A QUESTION
More strings PHP Questions
How do I join strings together?How do I check if a string contains HTML?
How do I make sure a string is a certain length?
How do I print the " in an echo statement?
What is the usage of { } in string handling in php?
