Menu

How to put Meta Tags in Php Nuke 4.1

Help
Anonymous
2000-10-24
2000-10-27
  • Anonymous

    Anonymous - 2000-10-24

    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

     
    • Anonymous

      Anonymous - 2000-10-27

      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=\&quot;description\&quot; content=\&quot;XXXXXXX\&quot;>\n";

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.