Forum Moderators: coopster
You can do this...
$Variable = qq(whatever I "want" to put); I can also do something like this...
print <<EOF;A whole lot of text...
EOF
So here's my question... can I do something like this in PHP? I've got a couple of books on PHP but they don't discuss this, or maybe I'm looking in the wrong place.
Andreas
My intent is to convert my entire site over to PHP. Currently my whole site is designed around CGI/Perl and that's what I know best. But I'm hearing that PHP is faster and more efficient and coding the same stuff is much easier, especially with forms... and my site is very forms-heavy, so I feel like this will be a much better way to go.
Any advice for a guy who is going from Perl/CGI to PHP? I've got the books from PeachPit (the quickstart guides) and they are excellent for learning the differences. Mainly I'm looking for major differences between the two that I should know about. I'm already seeing a major difference in how arrays and hashes are handled, but I think I can rewrite this into PHP without too much trouble.
Thanks again for the help!
Andreas