PHPLD : small mod help

Discussion in 'Programming' started by Tekntoant, Jul 19, 2006.

  1. #1
    I am having trouble trying to put the data that was submitted placed into a URL.

    For example I want the data that I collected in the submit page (I added fields to the submit page) to be at the end of a URL in a link. This URL would also be placed under the PR Bar just so you get a barring on where I will be placing this URL in the directory. I have successfully got the extra info to be placed in my mysql database but I can not call it.

    Example: <a href="http://www.domainname.com/something/{$ID}">click here</a>

    when I click on the link it just goes to www.domainname.com/something/

    Any help would be appreciated
     
    Tekntoant, Jul 19, 2006 IP
  2. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    phpLD use smarty template and the ID must be asigned in the php file...
    you probably want to biuld like using the site id, instead of direct linking, right ?

    ehat about something like
    <a href="http://www.domainname.com/something/{$link.ID}">click here</a>
    Code (markup):
     
    petronel, Jul 19, 2006 IP
  3. Tekntoant

    Tekntoant Peon

    Messages:
    294
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks petronel, that was a very simple fix and I have been going crazy trying to get this to work.

    Thanks again
     
    Tekntoant, Jul 19, 2006 IP
  4. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    :) glad that i could help
     
    petronel, Jul 19, 2006 IP