Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to write a simple HTML code inside PHP echo ” “; Re: How to write a simple HTML code inside PHP echo ” “;

#121339
noahgelman
Participant

>

Why are you escaping the quotes? You don’t need to do that. You only need to do that when the quotes are the same as the surrounding quotes. If your html is inside double quotes, you don’t need to escape single quotes.