Hi there,
If I may jump in, I always use single quotes
in PHP (except for SQL statements for some personal and practical reasons). This way, I don't have to worry about escaping every single double quotes in HTML. Downside of doing this is that you need to concatinate variables like this (thus a few more key strokes):
But I actually like it. It's more syntax-highlighting friendly than this as you can see (same line in double quotes):
Another downside would be that you'd have to literally linebreak, tab, etc (all the escaping sequence), but I still think it's worth putting up with than escaping every single double quotes in HTML.
My 2 cents.