What is the correct way to do the following echo in PHP
echo '<img class="imgfit img" src="img/evento/3-thumb.jpg" onclick="window.location.href="img/evento/3.jpg"" style="border-radius:0;" alt="">';
The dilemma I have is that when using window.location.href
you have to use single or double quotes, then how can I solve the problem?