Results 1 to 4 of 4

Thread: Meta Tags on PHP

  1. #1
    Johan
    Guest

    Meta Tags on PHP

    Can somebody please tell me how to add meta tags on a home.php script?
    Really appreciate the help.
    Thanks



  2. #2
    krusher
    Guest
    If you open that up, you should see that it looks like plain old html-except that there is a part that has php in it. You would insert the meta tags in the same place that you usually do.

    A very simple example:

    <html>
    <head>
    <title>hello</title>
    </head>
    <body>
    <h1>php and html</h1>
    <?php
    phpinfo()
    ?>
    </body>
    </html>


  3. #3
    krusher
    Guest
    Ooops! the server processed some of the code.

    Here is what I meant to have shown. Just remove the *'s.

    A very simple example:

    <*html>

    <*head>
    <*title>hello<*/title>
    <*/head>
    <*body>
    <*h1>php and html<*/h1>
    <*?php
    phpinfo()
    *?>
    <*/body>
    <*/html>

    Hope this helps.


  4. #4
    scwebmaster
    Join Date
    Jul 2006
    Location
    San Clemente CA
    Posts
    83
    Is your site using templates or is home.php a static php page?
    Brian H.

    Affiliate Relations / Advertising
    ICQ: 346982423
    AIM: FinelineBrian


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •