Need script to define meta-tag content as variable...

Discussion in 'PHP' started by martinvidic, Apr 6, 2007.

  1. #1
    Hi again....

    Sorry... got a nother question...

    Now i want to define $rating-id as the content of a meta tag:
    <meta name="topic_ID" content="01234">

    Is this posible....
    The php file is SSI included in an shtml...

    IF you think that can be made........ pleeeease .... tell me how.
    Thanx.
    M.V.
     
    martinvidic, Apr 6, 2007 IP
  2. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Where will the value of the meta tag come from.

    Meaning, will it be based upon the page being visited or will it be the same for all pages that have the SSI include on them?
     
    nfd2005, Apr 7, 2007 IP
  3. martinvidic

    martinvidic Guest

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The value will be a static in a shtml page....
    Everytime i create a new topic, i create a new ID

    a php rating script is SSI uncluded so i need a to difine something from the site to be the ID...

    Because i always use the sae script, the ID would be alwazs the same if i wouldnt take it from the shtml file....

    First i tried to use the url as the id.... it almost worked... but the whole script had problems with this at the end....

    Thanx.
    M.V.
     
    martinvidic, Apr 7, 2007 IP