Suppose I have a large string of HTML code. It has both double quotes and single quotes. How can I work with such a string? I want to assign it to a php var but the
php var
You could use HEREDOC/NOWDOC:
$var = <<Sally O'Connel