Hello. I'm a Perl programmer, and am trying to learn PHP now.
In Perl to print mulitple lines I can do this:
print qq~Hello "$nickname", how are you?
I am fine, please let me know if I can help you.
Ok I will, Bye, "$admin"~;
I don't have to put echo ahead of it, do I have to with PHP?
How can I print mulitple lines, starting with something other then a " or a ', so I don't have to escape everyone I use.
In Perl, I used ~ because I did not normally ever use ~ in my text, so I would have very few things to HAVE to escape.
Please let me know, if PHP has a variable of print ~ or something like that.
UPDATE: Sorry, In Perl I do not have to put " around variables, I did that so you could see I did not have to escape the "'s, like I would if I did: print "