author: brent ware

Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP

... printf() PHP's printf() outputs a string that ends up being displayed in the browser. It works much like C's (and Perl's) printf() function: printf "Integer: %d, Float: %6.2f", $i, $f; PHP also has the sprintf() function, which returns ...

This website uses cookies and collects data for optimal performance. Your continued use signifies agreement to our Privacy Policy.