@NogDogMar 05.2012 — #Well, the 2nd one won't parse/compile. ?
I suspect a sort of answer to your question is that these will all output the same thing: [code=php] $txt1 = "Hello World!"; $txt2 = "What a nice day!";
@NogDogMar 05.2012 — #echo and print are generally synonymous. (There are some small differences that you can ignore 99.99% of the time.) print[b]f[/b](), on the other hand, is significantly different, in that it allows you to use the first argument as a sort of template, and the successive arguments to replace the place-holders in that template (the "%s" string place-holders in my prior example).
@asaauthorMar 05.2012 — #echo and print are generally synonymous. (There are some small differences that you can ignore 99.99% of the time.) print[b]f[/b](), on the other hand, is significantly different, in that it allows you to use the first argument as a sort of template, and the successive arguments to replace the place-holders in that template (the "%s" string place-holders in my prior example).[/QUOTE]