PHP Snippets: Printf

PHPThis post is part of the PHP Snippets series where I will be covering the basics of developing in PHP.

The printf function is similar to the echo function in that it will output text, but differs in that it outputs a formatted string.

The syntax of the printf function is:

printf( string, arg 1, arg 2, ... )

Multiple arguments can be provided to the function for each of the placeholders to be…

Continue Reading azurecurve’s Article on their blog

PHP Snippets: Printf

This post is part of the PHP Snippets series where I will be covering the basics of developing in PHP. The function is similar to the echo function in that it will output text, but differs in that it outputs a formatted string.

Blog Syndicated with azurecurve’s Permission

Author: Ian Grieve

Share This Post On