don't echo and printf do different jobs ?
as i understand it echo will dump anything to screen, fprint will accept
formatted text args like "you owe me %d dollars",$owed_amount) or something
like that.
i kind of use print by itself (harking back to the old days of basic etc)
but use echo quite a lot. only use printf when i have to put cash amounts in
and stuff like that.
Steve
"Brother" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why should I use printf instead of echo and vice versa?
>
> As for today I use printf mostly but I don't know why.
>
> brother
> Mail: [EMAIL PROTECTED]
> UIN: 4722160
> Web: http://motd.st
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]