Hello, I'm trying to put meta tags on my homepage and I have to do it in the following format
I was wondering how I could put
<META name="description" content="whatever"> without getting any parse errors? I think I'm getting these errors because of the quotation marks, is there a way to get around this?
You could use single quotes.
echo ' double quote "unslashed" ';
But , the easiest way would be to not use PHP to print the html code.
Why not just use
Or use escape character for those special ones: echo "<a href=\"LINK\">";
Thanks guys, worked perfectly :):):):):)