Php

What is the diffrence between the echo and printf?

echo is a language construct (optional use of parenthesis).
printf is a function.
echo is slight faster and the variables have to be embedded in the string upon output.
printf produces a formatted string that takes multiple arguments.

See the php.net manual for more information on the two:
printf
echo