Was the example on a webpage (ie - written in HTML)?
It may have been that the author got a little tripped up in how to escape an ampersand.
I can't think of any reason to use
Code:
&&
. Single ampersands are what I've always used, and they have never failed me
I know
Code:
&&
used to mean "concatenate two strings with a space inserted between them" in some programming languages. But that doesn't seem particularly useful in this instance. Hope it helps,
-Carl
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.