hello,
I am running nuke 4.1 on my site and I was just wondering how I could place meta tags in the header.php file. It tells me there are parse errors when I do it in the following format
echo "<html>\n<head><META name="description" content="XXXXXXX">\n";
Thanks for any help in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2000-10-27
You need to escape the double quotes surrounding the parameters if you want them to appear inside a string. Like
hello,
I am running nuke 4.1 on my site and I was just wondering how I could place meta tags in the header.php file. It tells me there are parse errors when I do it in the following format
echo "<html>\n<head><META name="description" content="XXXXXXX">\n";
Thanks for any help in advance
You need to escape the double quotes surrounding the parameters if you want them to appear inside a string. Like
echo "<html>\n<head><META name=\"description\" content=\"XXXXXXX\">\n";