sprintf

Description

string sprintf ( string format [, mixed args [, mixed ...]] )

Returns a string produced according to the formatting string format. The format string is composed of zero or more directives: ordinary characters (excluding %) that are copied directly to the result, and conversion specifications, each of which results in fetching its own parameter. This applies to both sprintf() and printf(). Each conversion specification consists of a percent sign (%), followed by one or more of these elements, in order: An optional sign specifier that forces a sign (- or +) to be used on a number. By default, only the - sign is used on a number if it's negative. This specifier forces positive numbers to have the + sign attached as well, and was added in PHP 4.3.0. An optional padding specifier that says what character will be used for padding the results to the right string size. This may be a space character or a 0 (zero character). The default is to pad with spaces. An alternate padding character can be specified by prefixing it with a single quote ('). See the examples below. An optional alignment specifier that says if the result should be left-justified or right-justified. The default is right-justified; a - character here will make it left-justified. An optional number, a width specifier that says how many characters (minimum) this conversion should result in. An optional precision specifier that says how many decimal digits should be displayed for floating-point numbers. When using this specifier on a string, it acts as a cutoff point, setting a maximum character limit to the string. A type specifier that says what type the argument data should be treated as. Possible types:
Dodał : Grzechoo
Data dodania : 2006-04-11 00:00:00
Komentarze
wedwedwed
Dodał : dwedwedwe
IP : 80.51.99.190
Data : 2006-05-05 11:59
futka
Dodał : po
IP : 80.51.99.190
Data : 2006-05-05 11:38
wedwerw
Dodał : qweqwe
IP : 80.51.99.190
Data : 2006-05-05 09:26
ale jaja :8 jak berety :p
Dodał : hipi
IP : 80.51.99.190
Data : 2006-04-14 13:35
Taki fajowy komentarz :-)
Dodał : kudlaty
IP : 80.51.99.190
Data : 2006-04-14 11:17
komentarz bardzo fajny
Dodał : lll
IP : 195.117.152.100
Data : 2006-04-13 10:27
komentarz bardzo fajny
Dodał : lll
IP : 195.117.152.100
Data : 2006-04-13 10:15
dupa :>
Dodał : jaka
IP : 195.117.152.100
Data : 2006-04-13 10:06
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
Dodał : 1234567890123456789012345678901234567890
IP : 80.51.99.190
Data : 2006-04-11 15:46
ala ma kota wieśniaku
Dodał : kudlaty
IP : 80.51.99.190
Data : 2006-04-11 15:41
ljkhljkh
Dodał : ljkhl
IP : 80.51.99.190
Data : 2006-04-11 15:21
lkl
Dodał : lk
IP : 80.51.99.190
Data : 2006-04-11 15:11
ala
Dodał : ala
IP : 80.51.99.190
Data : 2006-04-11 15:03