Changes

Jump to: navigation, search

Working with Strings and Text in PHP

1 byte removed, 14:48, 4 June 2007
Printing Formatting Strings in PHP
</pre>
== Printing Formatting Formatted Strings in PHP ==
Those familar with other programming langusges languages such as C and C++ will probably be familiar with the concept of formatting strings and the ''printf()'' function. The printf function allows strings to constructed which contain variables and provides a number of formatting options for those variables.
Essentially printf allows you to specify a string and define how particular variables are to be embedded in that string. ''fprintf()'' takes two or more arguments and takes the the following form:

Navigation menu